Update progress.sh

This commit is contained in:
Kroese 2025-10-19 14:37:22 +02:00 committed by GitHub
parent 9122fec688
commit 54edab0cd8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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