GNU Hurd: Added uptime

Oops, forgot this one.
This commit is contained in:
Muhammad Herdiansyah 2016-11-29 16:46:58 +07:00
parent 5890e965b5
commit 4d21fb6397
1 changed files with 1 additions and 1 deletions

View File

@ -289,7 +289,7 @@ get_uptime() {
*)
# Get uptime in seconds
case "$os" in
"Linux" | "Windows")
"Linux" | "Windows" | "GNU")
seconds="$(< /proc/uptime)"
seconds="${seconds/.*}"
;;