From ef2b89f5bf37c304ab431aa0fbeb21b3f8a3ecd7 Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 20 Oct 2023 13:40:40 -0400 Subject: [PATCH] fix attempts logic --- setup/so-functions | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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