mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-07-18 14:53:40 +02:00
Merge pull request #16077 from Security-Onion-Solutions/saltthangs
so-salt-minion-wait: report ready immediately when already ready
This commit is contained in:
@@ -47,7 +47,6 @@
|
||||
|
||||
set -u
|
||||
|
||||
INITIAL_SLEEP=3
|
||||
TIMEOUT=120
|
||||
MASTER_PORT=4506
|
||||
LOG_TAIL_LINES=10000
|
||||
@@ -178,9 +177,7 @@ instance_ready() {
|
||||
return 0
|
||||
}
|
||||
|
||||
sleep "$INITIAL_SLEEP"
|
||||
|
||||
elapsed="$INITIAL_SLEEP"
|
||||
elapsed=0
|
||||
pids=""
|
||||
announced_pending=0
|
||||
while [ "$elapsed" -lt "$TIMEOUT" ]; do
|
||||
|
||||
Reference in New Issue
Block a user