Commit 4d21fb63 authored by Muhammad Herdiansyah's avatar Muhammad Herdiansyah

GNU Hurd: Added uptime

Oops, forgot this one.
parent 5890e965
...@@ -289,7 +289,7 @@ get_uptime() { ...@@ -289,7 +289,7 @@ get_uptime() {
*) *)
# Get uptime in seconds # Get uptime in seconds
case "$os" in case "$os" in
"Linux" | "Windows") "Linux" | "Windows" | "GNU")
seconds="$(< /proc/uptime)" seconds="$(< /proc/uptime)"
seconds="${seconds/.*}" seconds="${seconds/.*}"
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment