fix attempts logic

This commit is contained in:
m0duspwnens committed 2023-10-20 13:40:40 -04:00
1 parent 2878f82754
commit ef2b89f5bf
1 file changed
+1 -1
+1 -1
View File
@@ -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