fix more instances of ": $((a++))" in shell scripts
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@@ -14,7 +14,7 @@ env | sort
|
||||
|
||||
while sleep 1; test $cnt != 0; do
|
||||
echo "Trying to reread partition table on $DEVNAME ($cnt)"
|
||||
: $((cnt--))
|
||||
cnt=$((cnt-1))
|
||||
# If device node doesn't exist, it means the device was removed.
|
||||
# Stop trying.
|
||||
test -e "$DEVNAME" || { echo "$DEVNAME doesn't exist, aborting"; exit 1; }
|
||||
|
||||
Reference in New Issue
Block a user