diff --git a/setup/so-functions b/setup/so-functions index 7ead07ca7..1c9b0f43d 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -2500,7 +2500,7 @@ wait_for_salt_minion() { local maxAttempts=20 until check_salt_minion_status; do attempt=$((attempt+1)) - if [[ $attempt -gt $maxAttempts ]]; then + if [[ $attempt -eq $maxAttempts ]]; then fail_setup fi sleep 10