From a588f88f6c968c55b67f81168420057a412c6170 Mon Sep 17 00:00:00 2001 From: Tudor Date: Sat, 13 Feb 2016 19:24:44 +0200 Subject: [PATCH] Fixed uptime output if it is under a minute --- fetch | 1 + 1 file changed, 1 insertion(+) diff --git a/fetch b/fetch index f059f4ec..b7fef6ee 100755 --- a/fetch +++ b/fetch @@ -527,6 +527,7 @@ getuptime () { *) uptime="$(uptime -p)" + [ "$uptime" == "up" ] && uptime="up $(cat /proc/uptime)" ;; esac ;;