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