mirror of
https://github.com/dockur/windows.git
synced 2025-10-27 03:15:49 +00:00
fix: Shellcheck warn about arithmetic operation
This commit is contained in:
parent
03a04afb7e
commit
a7f7a23083
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue