Forgot the uptime file
This commit is contained in:
parent
06797de423
commit
8d2e2b5ee4
1 changed files with 1 additions and 1 deletions
2
fetch
2
fetch
|
@ -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
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue