From 0acc61cd800b49e98301a3e9dc54b8d79f08b2b9 Mon Sep 17 00:00:00 2001 From: Mattia Basaglia Date: Sat, 3 Jan 2015 21:34:29 +0100 Subject: [PATCH] Expand displayed uptime --- systempony | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/systempony b/systempony index 754e672..062d651 100755 --- a/systempony +++ b/systempony @@ -59,7 +59,7 @@ function ponyget_CPU() function ponyget_Uptime() { - uptime | grep -oE "up\s+[^,]+" | sed -r "s/up\s+//" + uptime | grep -oE "up.*users" | sed -r "s/up\s*(.+),\s*[0-9]+\s*users/\1/" } function ponyget_Packages()