projects
/
feisty_meow.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
898337e
)
slightly nicer formatting but basic look of the uptime is right.
author
Chris Koeritz
<fred@gruntose.com>
Sat, 11 Apr 2015 03:27:11 +0000
(23:27 -0400)
committer
Chris Koeritz
<fred@gruntose.com>
Sat, 11 Apr 2015 03:27:11 +0000
(23:27 -0400)
scripts/core/inventory.sh
patch
|
blob
|
history
diff --git
a/scripts/core/inventory.sh
b/scripts/core/inventory.sh
index c322fcf3e52a1e0ee09c419d07bb56a9c1779d9e..9390dc7464067710e269cb3ac8ab7b8e729b2b53 100644
(file)
--- 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