Browse Source

Update dns_curanet.sh

pull/6596/head
Peter Lindegaard Hansen 7 days ago
committed by GitHub
parent
commit
b7c8601540
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      dnsapi/dns_curanet.sh

2
dnsapi/dns_curanet.sh

@ -154,7 +154,7 @@ _get_root() {
export _H3="Authorization: Bearer $CURANET_ACCESS_TOKEN" export _H3="Authorization: Bearer $CURANET_ACCESS_TOKEN"
response="$(_get "$CURANET_REST_URL/$h/Records" "" "")" response="$(_get "$CURANET_REST_URL/$h/Records" "" "")"
if [ ! "$(echo "$response" | _egrep_o "Entity not found")" ]; then
if [ ! "$(echo "$response" | _egrep_o "Entity not found|Bad Request")" ]; then
_domain=$h _domain=$h
return 0 return 0
fi fi

Loading…
Cancel
Save