mirror of
https://github.com/Antynea/grub-btrfs.git
synced 2026-03-04 12:56:29 +08:00
Update wait_max arithmetic
* Update wait_max arithmetic: * "$" isn't required in an arithmetic function
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user