Browse Source

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

pull/6832/head
Ludwig 2 weeks ago
committed by GitHub
parent
commit
03860a4978
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      dnsapi/dns_me.sh

2
dnsapi/dns_me.sh

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

Loading…
Cancel
Save