Merge pull request #467 from konimex/master

GNU Hurd: Added uptime
This commit is contained in:
Dylan Araps 2016-11-29 21:16:13 +11:00 committed by GitHub
commit c4271fdc17
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/.*}"
;;