neofetch: Fix uptime seconds on Linux. Closes #1422

This commit is contained in:
Dylan Araps
2020-03-08 16:13:19 +02:00
parent 87827df455
commit e960c51686

View File

@@ -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