Browse Source

_get_root now does not skip the first label of the domain

pull/3352/head
Stephen Dendtler 4 years ago
parent
commit
500a005aac
  1. 2
      dnsapi/dns_rackcorp.sh

2
dnsapi/dns_rackcorp.sh

@ -79,7 +79,7 @@ dns_rackcorp_rm() {
# _domain=domain.com
_get_root() {
domain=$1
i=2
i=1
p=1
if ! _rackcorp_api dns.domain.getall "\"name\":\"$domain\""; then
return 1

Loading…
Cancel
Save