diff --git a/common/functions.sh b/common/functions.sh index d09167c..1cdb595 100644 --- a/common/functions.sh +++ b/common/functions.sh @@ -79,7 +79,7 @@ get_system_used_space() { } human_readable_bytes() { - local spacebytes=$($1 + 0) + local spacebytes=$1 spacekb=`expr "$spacebytes" / 1024` spacemb=`expr "$spacebytes" / 1024 / 1024` spacegb=`expr "$spacebytes" / 1024 / 1024 / 1024`