dnsapi/dns_me: ignore "already exists" error for multi-domain support (#6830)

This commit is contained in:
Ludwig
2026-03-08 11:37:29 +01:00
committed by GitHub
parent da5e818907
commit 03860a4978

View File

@@ -53,6 +53,8 @@ dns_me_add() {
_info "Added" _info "Added"
#todo: check if the record takes effect #todo: check if the record takes effect
return 0 return 0
elif printf -- "%s" "$response" | grep -q "already exists"; then
_info "Record already exists, skipping."
else else
_err "Add txt record error." _err "Add txt record error."
return 1 return 1