GNU Hurd: Added uptime
Oops, forgot this one.
This commit is contained in:
parent
5890e965b5
commit
4d21fb6397
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -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/.*}"
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue