From 1f02c5edfe25cdbd651148b6bf4c959ff038bbe9 Mon Sep 17 00:00:00 2001 From: deathbybandaid Date: Sun, 17 Dec 2023 11:54:53 -0500 Subject: [PATCH] test --- common/functions.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/functions.sh b/common/functions.sh index 7f64e0e..bba7f75 100644 --- a/common/functions.sh +++ b/common/functions.sh @@ -80,7 +80,11 @@ get_system_used_space() { human_readable_bytes() { local spacebytes="$1" - printf "$COL_YELLOW" "test $1 test" + echo "$spacebytes" +} + +human_readable_bytesD() { + local spacebytes="$1" spacekb=`expr "$spacebytes" / 1024` spacemb=`expr "$spacebytes" / 1024 / 1024` spacegb=`expr "$spacebytes" / 1024 / 1024 / 1024`