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

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/.*}"
;;