From 0043219cf8fc451389c7a36e496a85ad22a6561d Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 10 Apr 2015 23:27:11 -0400 Subject: [PATCH] slightly nicer formatting but basic look of the uptime is right. --- scripts/core/inventory.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1