From f57f896a584a15aa1070c7aa2ed39d9e0a91c516 Mon Sep 17 00:00:00 2001 From: kenzok8 Date: Sat, 8 Nov 2025 09:41:57 +0800 Subject: [PATCH] update 2025-11-08 09:41:57 --- momo/files/scripts/include.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/momo/files/scripts/include.sh b/momo/files/scripts/include.sh index 09973029d..feac9a8a4 100644 --- a/momo/files/scripts/include.sh +++ b/momo/files/scripts/include.sh @@ -90,7 +90,7 @@ format_filesize() { local gb; gb=$((mb * 1024)) local tb; tb=$((gb * 1024)) local pb; pb=$((tb * 1024)) - local size; size= + local size; size=$1 if [ -n "$size" ]; then if [ "$size" -lt "$kb" ]; then echo "$(awk "BEGIN {print $size / $b}") B"