Browse Source

fixed dns_zoneee GET TXT records parsing

pull/1879/head
Siim Talvik 7 years ago
parent
commit
3bdc22b70f
  1. 4
      dnsapi/dns_zoneee.sh

4
dnsapi/dns_zoneee.sh

@ -36,8 +36,8 @@ dns_zoneee_add() {
_debug "Getting txt records"
_zoneee_rest GET "$_domain/txt"
if printf "%s" "$response" | grep \"result\":error >/dev/null; then
_err "Error"
if echo "$response" | grep \"result\":\"error\" >/dev/null; then
_err "Error Getting TXT records"
return 1
fi

Loading…
Cancel
Save