Browse Source

fix record update error for cloudxns (#167)

thanks.
master
Indust 9 years ago
committed by neil
parent
commit
4fa08fc78c
  1. 2
      dnsapi/dns_cx.sh

2
dnsapi/dns_cx.sh

@ -69,7 +69,7 @@ existing_records() {
return 1
fi
count=0
seg=$(printf "$response" | grep -o "{[^{]*host\":\"$_sub_domain[^}]*}")
seg=$(printf "$response" | grep -o "{[^{]*host\":\"$_sub_domain\"[^}]*}")
_debug seg "$seg"
if [ -z "$seg" ] ; then
return 0

Loading…
Cancel
Save