From 68630a125e2670a97a30302af2a4e1c0ee44985c Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 19 Jan 2017 14:08:57 +1100 Subject: [PATCH] Uptime: Add support for HP-UX --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 3cefd282..f999382f 100755 --- a/neofetch +++ b/neofetch @@ -363,7 +363,7 @@ get_uptime() { seconds="${seconds/.*}" ;; - "AIX") + "AIX" | "HP-UX") t="$(LC_ALL=POSIX ps -o etime= -p 1)" d="0" h="0" case "$t" in *"-"*) d="${t%%-*}"; t="${t#*-}";; esac