From 48a157b11980cc45066f0d069b086cc84b1cf0ba Mon Sep 17 00:00:00 2001 From: goodvin Date: Sat, 21 Mar 2026 22:11:31 +0300 Subject: [PATCH] unbound variable --- scripts/generate-configs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]}"