Commit da957a3c authored by neil's avatar neil
Browse files
parent 6ba1eda9
...@@ -59,7 +59,7 @@ dns_cf_add() { ...@@ -59,7 +59,7 @@ dns_cf_add() {
_debug "Getting txt records" _debug "Getting txt records"
_cf_rest GET "zones/${_domain_id}/dns_records?type=TXT&name=$fulldomain" _cf_rest GET "zones/${_domain_id}/dns_records?type=TXT&name=$fulldomain"
if ! printf "%s" "$response" | grep \"success\":true >/dev/null; then if ! echo "$response" | tr -d " " | grep \"success\":true >/dev/null; then
_err "Error" _err "Error"
return 1 return 1
fi fi
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment