Merge pull request #16428 from Security-Onion-Solutions/jertel/wip

avoid logging jq error while influx is starting
This commit is contained in:
Jason Ertel authored and GitHub committed 2026-11-27 11:40:45 -05:00
commit 7f1d60d366
1 file changed
+1 -1
+1 -1
View File
@@ -128,7 +128,7 @@ lookup_org_id_with_wait() {
wait=10
while [[ $attempts -lt $max_attempts ]]; do
response=$(request orgs?org=Security+Onion)
oid=$(echo "$response" | jq -r ".orgs[] | select(.name == \"Security Onion\").id")
oid=$(echo "$response" | jq -r ".orgs[]? | select(.name == \"Security Onion\").id")
if [[ -z $oid ]]; then
attempts=$((attempts+1))
log "Server does not appear to be running or fully initialized - will try again in $wait seconds ($attempts / $max_attempts)"