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