fix: Shellcheck warn about arithmetic operation

This commit is contained in:
Kroese 2025-09-18 12:10:21 +02:00 committed by GitHub
parent 03a04afb7e
commit a7f7a23083
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -28,7 +28,7 @@ backup () {
while [ -d "$dir" ] while [ -d "$dir" ]
do do
count=$[$count +1] count=$((count+1))
folder="${name}.${count}" folder="${name}.${count}"
dir="$root/$folder" dir="$root/$folder"
done done