mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-07 17:52:46 +01:00
fix attempts logic
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user