Uptime [IRIX]: Use AIX method
This commit is contained in:
parent
e96d0e4cf6
commit
a3af0a3f3e
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -371,7 +371,7 @@ get_uptime() {
|
|||
seconds="${seconds/.*}"
|
||||
;;
|
||||
|
||||
"AIX")
|
||||
"AIX" | "IRIX")
|
||||
t="$(LC_ALL=POSIX ps -o etime= -p 1)"
|
||||
d="0" h="0"
|
||||
case "$t" in *"-"*) d="${t%%-*}"; t="${t#*-}";; esac
|
||||
|
|
Loading…
Reference in a new issue