third try lucky?
authorChris Koeritz <fred@gruntose.com>
Sat, 11 Apr 2015 03:26:23 +0000 (23:26 -0400)
committerChris Koeritz <fred@gruntose.com>
Sat, 11 Apr 2015 03:26:23 +0000 (23:26 -0400)
scripts/core/inventory.sh

index 647f943ac3bdd8e0686f392a7deef2fb0b5a28a2..c322fcf3e52a1e0ee09c419d07bb56a9c1779d9e 100644 (file)
@@ -22,7 +22,7 @@ errorfudgetime
 if [ $? -eq 0 ]; then
   up="$(uptime -p)"
 else
-  up="$(uptime | awk '{print $2 " " $1 }')"
+  up="$(uptime | awk '{print $2 " " $3 " " $4 " plus " $1 }')"
 fi
 
 echo