From 54edab0cd8a1b05ba6937ab55706d364603b74e0 Mon Sep 17 00:00:00 2001 From: Kroese Date: Sun, 19 Oct 2025 14:37:22 +0200 Subject: [PATCH] Update progress.sh --- src/progress.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/progress.sh b/src/progress.sh index fd64f41..8080156 100644 --- a/src/progress.sh +++ b/src/progress.sh @@ -23,6 +23,7 @@ fi cluster=$(stat -f "$path" | grep -m 1 "^Block size:" | cut -d':' -f2 | tail -c+2 | cut -d' ' -f1) total=$(( ( ( total + cluster / 2 ) / cluster ) * cluster )) +[ -z "$total" ] && total="4096" while true do