From: Chris Koeritz Date: Sat, 11 Apr 2015 03:27:11 +0000 (-0400) Subject: slightly nicer formatting but basic look of the uptime is right. X-Git-Tag: 2.140.90~660 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=0043219cf8fc451389c7a36e496a85ad22a6561d;p=feisty_meow.git slightly nicer formatting but basic look of the uptime is right. --- diff --git a/scripts/core/inventory.sh b/scripts/core/inventory.sh index c322fcf3..9390dc74 100644 --- a/scripts/core/inventory.sh +++ b/scripts/core/inventory.sh @@ -22,7 +22,7 @@ errorfudgetime if [ $? -eq 0 ]; then up="$(uptime -p)" else - up="$(uptime | awk '{print $2 " " $3 " " $4 " plus " $1 }')" + up="$(uptime | awk '{print $2 " " $3 " " $4 " plus " $1 " hours" }')" fi echo