diff --git a/scripts/generate-configs.sh b/scripts/generate-configs.sh index e9e234b..449a6bf 100644 --- a/scripts/generate-configs.sh +++ b/scripts/generate-configs.sh @@ -326,7 +326,7 @@ if [ "$ignored_total" -gt 0 ]; then done echo fi -if [ "${#ERRORS[@]}" -gt 0 ]; then +if [ "$api_error" -gt 0 ]; then echo "---- API FAILURES (added without subdomains) ----" for d in $(printf '%s\n' "${!ERRORS[@]}" | sort); do printf '%s → %s\n' "$d" "${ERRORS[$d]}"