Forgot about that
This commit is contained in:
parent
32053b795e
commit
5c7cb81c27
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -527,7 +527,7 @@ getuptime () {
|
||||||
|
|
||||||
*)
|
*)
|
||||||
uptime="$(uptime -p)"
|
uptime="$(uptime -p)"
|
||||||
[ "$uptime" == "up " ] && uptime="up $(cat /proc/uptime)"
|
[ "$uptime" == "up " ] && uptime="up $(cat /proc/uptime | cut -d'.' -f1) seconds"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue