mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
show response when unable to retrieve DNS records for a zone
This commit is contained in:
parent
47a38a8977
commit
52a16c917f
@ -111,7 +111,7 @@ dns_cf_rm() {
|
|||||||
_cf_rest GET "zones/${_domain_id}/dns_records?type=TXT&name=$fulldomain&content=$txtvalue"
|
_cf_rest GET "zones/${_domain_id}/dns_records?type=TXT&name=$fulldomain&content=$txtvalue"
|
||||||
|
|
||||||
if ! printf "%s" "$response" | grep \"success\":true >/dev/null; then
|
if ! printf "%s" "$response" | grep \"success\":true >/dev/null; then
|
||||||
_err "Error"
|
_err "Error: $response"
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user