diff --git a/common/functions.sh b/common/functions.sh index 66f8d38..1aa8a4f 100644 --- a/common/functions.sh +++ b/common/functions.sh @@ -75,7 +75,7 @@ pkgmgr_update(){ get_system_used_space() { usedspace=$(df --output=used -B1 / | tail -n 1| cut -d'%' -f1) printf "$COL_RED" "$usedspace" - return $usedspace + echo $usedspace } human_readable_bytes() {