From: Guillaume Abrioux Date: Tue, 25 May 2021 08:08:55 +0000 (+0200) Subject: vagrant_up: fix bash legacy syntax X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=43b1c7bea9531d16cbdf6f9a8690f735d2190730;p=ceph-ansible.git vagrant_up: fix bash legacy syntax This commit rewrites the deprecated syntax used in vagrant_up.sh Signed-off-by: Guillaume Abrioux --- diff --git a/tests/scripts/vagrant_up.sh b/tests/scripts/vagrant_up.sh index 819ff46c8..b400c0da7 100644 --- a/tests/scripts/vagrant_up.sh +++ b/tests/scripts/vagrant_up.sh @@ -8,7 +8,7 @@ until [ $retries -ge 5 ] do echo "Attempting to start VMs. Attempts: $retries" timeout 10m time vagrant up "$@" && break - retries=$[$retries+1] + retries=$((retries+1)) sleep 5 done