diff --git a/common/functions.sh b/common/functions.sh index d0f4545..a6605aa 100644 --- a/common/functions.sh +++ b/common/functions.sh @@ -73,7 +73,7 @@ pkgmgr_update(){ get_system_used_space() { - echo $(df --output=used -B1 / | tail -n 1| cut -d'%' -f1) + return $(df --output=used -B1 / | tail -n 1| cut -d'%' -f1) } human_readable_bytes() {