vagrant_up: fix bash legacy syntax

This commit rewrites the deprecated syntax used in vagrant_up.sh

Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
pull/6551/head
Guillaume Abrioux 2021-05-25 10:08:55 +02:00
parent 9efca34ac3
commit 43b1c7bea9
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ until [ $retries -ge 5 ]
do do
echo "Attempting to start VMs. Attempts: $retries" echo "Attempting to start VMs. Attempts: $retries"
timeout 10m time vagrant up "$@" && break timeout 10m time vagrant up "$@" && break
retries=$[$retries+1] retries=$((retries+1))
sleep 5 sleep 5
done done