neofetch: Fix uptime seconds on Linux. Closes #1422
This commit is contained in:
parent
87827df455
commit
e960c51686
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1396,7 +1396,7 @@ get_uptime() {
|
|||
|
||||
uptime=${d:+$d, }${h:+$h, }$m
|
||||
uptime=${uptime%', '}
|
||||
uptime=${uptime:-$seconds secs}
|
||||
uptime=${uptime:-$s secs}
|
||||
|
||||
# Make the output of uptime smaller.
|
||||
case $uptime_shorthand in
|
||||
|
|
Loading…
Reference in a new issue