diff --git a/modules/security/bot-analyzer.sh b/modules/security/bot-analyzer.sh index de9de1f..7116832 100755 --- a/modules/security/bot-analyzer.sh +++ b/modules/security/bot-analyzer.sh @@ -1896,8 +1896,8 @@ calculate_threat_scores() { fi done | sort -t'|' -k1 -rn > "$TEMP_DIR/threat_scores.txt" - # Wait for background IP reputation updates to complete - wait + # Wait for background IP reputation updates to complete (don't fail if background jobs error) + wait || true print_success "Threat scores calculated and IP reputation updated" }