Fixed uptime output if it is under a minute

This commit is contained in:
Tudor 2016-02-13 19:24:44 +02:00
parent 96e05f78f8
commit a588f88f6c

1
fetch
View file

@ -527,6 +527,7 @@ getuptime () {
*)
uptime="$(uptime -p)"
[ "$uptime" == "up" ] && uptime="up $(cat /proc/uptime)"
;;
esac
;;