From a3af0a3f3e6e81571c0c52c9dfd1c99b42f0f1ec Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Mon, 8 May 2017 17:59:48 +0700 Subject: [PATCH] Uptime [IRIX]: Use AIX method --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index a4f74770..4b2bf7d3 100755 --- a/neofetch +++ b/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