From 444c860e6180bb0d40039a26535671ee05b6b85b Mon Sep 17 00:00:00 2001 From: Muhammad Herdiansyah Date: Tue, 30 Aug 2016 23:13:59 +0700 Subject: [PATCH] Fixed Android uptime --- neofetch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/neofetch b/neofetch index b25c1e78..97e5415c 100755 --- a/neofetch +++ b/neofetch @@ -242,9 +242,9 @@ getuptime() { "Android"*) uptime=$(uptime | awk -F ' up' '{print $2}') - time="${time//[0-9] user*}" - time="${time//load average*}" - time="${time%,*} ${time##*,}" + uptime="${uptime//[0-9] user*}" + uptime="${uptime//load average*}" + uptime="${uptime%,*} ${uptime##*,}" ;; *)