Skip to content

Commit

Permalink
Merge pull request #78 from Roy-Ernst/patch-1
Browse files Browse the repository at this point in the history
[FIX] Show human bytes correctly
  • Loading branch information
fwartner authored Jun 28, 2021
2 parents bb00372 + f246bee commit c9d0e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mac-cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ deleteCaches() {
bytesToHuman() {
b=${1:-0}
d=''
s=0
s=1
S=(Bytes {K,M,G,T,E,P,Y,Z}iB)
while ((b > 1024)); do
d="$(printf ".%02d" $((b % 1024 * 100 / 1024)))"
Expand Down

0 comments on commit c9d0e9f

Please sign in to comment.