Forgot the uptime file

This commit is contained in:
Tudor 2016-02-14 15:56:02 +02:00
parent 06797de423
commit 8d2e2b5ee4

2
fetch
View file

@ -527,7 +527,7 @@ getuptime () {
*)
uptime="$(uptime -p)"
[ "$uptime" == "up " ] && uptime="up $(awk -F'.' '{print $1}') seconds"
[ "$uptime" == "up " ] && uptime="up $(awk -F'.' '{print $1}' /proc/uptime) seconds"
;;
esac
;;