various smaller changes

This commit is contained in:
2020-12-30 15:48:47 +01:00
parent 99e8109bf0
commit de4272ac52
7 changed files with 9 additions and 10 deletions

View File

@ -30,6 +30,5 @@ else
rx_avg=$rx
tx_avg=$tx
fi
printf '⬇%s ⬆%s\n' $(numfmt --to=iec $rx_avg) $(numfmt --to=iec $tx_avg)
printf '⬇%s ⬆%s\n' "$(numfmt --to=iec "$rx_avg")" "$(numfmt --to=iec "$tx_avg")"
date +'%s' > "$lasttime"