_get_root now does not skip the first label of the domain
parent
b79f63db78
commit
500a005aac
|
@ -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…
Reference in New Issue