feat: Simplify increment syntax (#1747)

This commit is contained in:
Kroese
2026-05-29 15:50:53 +02:00
committed by GitHub
parent 0bc2380452
commit 6e45deea2f
4 changed files with 10 additions and 44 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ backup () {
while [ -d "$dir" ]
do
count=$((count+1))
(( count++ ))
folder="${name}.${count}"
dir="$root/$folder"
done