From bef0e37984810735b7cb3cd403de192f7b648cf3 Mon Sep 17 00:00:00 2001 From: Dylan Date: Fri, 29 Apr 2016 09:54:02 +1000 Subject: [PATCH] Fix error with hours --- neofetch | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/neofetch b/neofetch index d95393e8..b888aed9 100755 --- a/neofetch +++ b/neofetch @@ -590,15 +590,11 @@ getuptime () { hours=$((uptime / 3600%24)) days=$((uptime / 86400)) - echo "$mins" - echo "$hours" - echo "$days" - days="$days days," hours="$hours hours," mins="$mins minutes" - uptime="up ${days/0 days,} ${hours/ 0 hours,} ${mins/0 mins}" + uptime="up ${days/0 days,} ${hours/0 hours,} ${mins/0 mins}" ;; esac