fix on remove too

This commit is contained in:
Martin Sandford 2020-04-28 18:13:48 +01:00
parent b75ef9a7dd
commit d3644d9856

View File

@ -110,7 +110,7 @@ dns_cf_rm() {
_debug "Getting txt records"
_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: $response"
return 1
fi