unbound variable

This commit is contained in:
goodvin 2026-03-21 22:11:31 +03:00
parent 53e8b900ca
commit 48a157b119

View file

@ -326,7 +326,7 @@ if [ "$ignored_total" -gt 0 ]; then
done done
echo echo
fi fi
if [ "${#ERRORS[@]}" -gt 0 ]; then if [ "$api_error" -gt 0 ]; then
echo "---- API FAILURES (added without subdomains) ----" echo "---- API FAILURES (added without subdomains) ----"
for d in $(printf '%s\n' "${!ERRORS[@]}" | sort); do for d in $(printf '%s\n' "${!ERRORS[@]}" | sort); do
printf '%s → %s\n' "$d" "${ERRORS[$d]}" printf '%s → %s\n' "$d" "${ERRORS[$d]}"