diff options
Diffstat (limited to 'examples/mdev.conf.change_blockdev.sh')
| -rwxr-xr-x | examples/mdev.conf.change_blockdev.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/mdev.conf.change_blockdev.sh b/examples/mdev.conf.change_blockdev.sh index 512e43fcc..252d30f53 100755 --- a/examples/mdev.conf.change_blockdev.sh +++ b/examples/mdev.conf.change_blockdev.sh | |||
| @@ -14,7 +14,7 @@ env | sort | |||
| 14 | 14 | ||
| 15 | while sleep 1; test $cnt != 0; do | 15 | while sleep 1; test $cnt != 0; do |
| 16 | echo "Trying to reread partition table on $DEVNAME ($cnt)" | 16 | echo "Trying to reread partition table on $DEVNAME ($cnt)" |
| 17 | : $((cnt--)) | 17 | cnt=$((cnt-1)) |
| 18 | # If device node doesn't exist, it means the device was removed. | 18 | # If device node doesn't exist, it means the device was removed. |
| 19 | # Stop trying. | 19 | # Stop trying. |
| 20 | test -e "$DEVNAME" || { echo "$DEVNAME doesn't exist, aborting"; exit 1; } | 20 | test -e "$DEVNAME" || { echo "$DEVNAME doesn't exist, aborting"; exit 1; } |
