From c3f2662ec23a185fd13d3e5382b904762f6f9840 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sun, 17 Dec 2023 11:57:46 -0500 Subject: [PATCH] test --- common/functions.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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() {