diff --git a/ci/azure/linux_script b/ci/azure/linux_script index 2b6d62d253..06e44aa52a 100755 --- a/ci/azure/linux_script +++ b/ci/azure/linux_script @@ -13,7 +13,7 @@ CMD_WAIT_TIME=10s # We give up after retrying CMD_MAX_RETRY times. retry() { for i in $(seq 1 "$CMD_MAX_RETRY"); do - "$@" && return + eval "$@" && return echo "command \"$@\" failed, retrying..." sleep ${CMD_WAIT_TIME} done