Update wait_max arithmetic

* Update wait_max arithmetic:
  * "$" isn't required in an arithmetic function
This commit is contained in:
Antynea
2021-10-21 16:54:11 +02:00
committed by GitHub
parent f3d8e99cb8
commit 3b857348cb

View File

@@ -132,7 +132,7 @@ if [[ -d "$gbgmp" ]]; then
printf "Unmount %s .." "$gbgmp" >&2;
while $wait; do
if grep -qs "$gbgmp" /proc/mounts; then
wait_max=$((1+$wait_max))
wait_max=$((1+wait_max))
if umount "$gbgmp" >/dev/null 2>&1; then
wait=false # umount successful
printf " Success\n" >&2;