mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-05-18 11:53:56 +08:00
dnsapi/dns_me: ignore "already exists" error for multi-domain support (#6830)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user