This commit is contained in:
deathbybandaid 2023-12-17 11:39:01 -05:00
parent 89a63f3b4b
commit 7de81f690d

View File

@ -80,7 +80,7 @@ get_system_used_space() {
human_readable_bytes() { human_readable_bytes() {
local spacebytes="$1" local spacebytes="$1"
echo "$spacebytes" printf "$COL_RED" "$spacebytes"
spacekb=`expr $spacebytes / 1024` spacekb=`expr $spacebytes / 1024`
spacemb=`expr $spacebytes / 1024 / 1024` spacemb=`expr $spacebytes / 1024 / 1024`
spacegb=`expr $spacebytes / 1024 / 1024 / 1024` spacegb=`expr $spacebytes / 1024 / 1024 / 1024`