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##*,}" ;; *)