diff --git a/common/functions.sh b/common/functions.sh index bba7f75..9ebf61e 100644 --- a/common/functions.sh +++ b/common/functions.sh @@ -80,7 +80,8 @@ get_system_used_space() { human_readable_bytes() { local spacebytes="$1" - echo "$spacebytes" + spacekb=`expr "$spacebytes" / 1024` + echo "$spacekb" } human_readable_bytesD() {