_get_root now does not skip the first label of the domain

This commit is contained in:
Stephen Dendtler 2021-01-11 13:03:42 +00:00
parent b79f63db78
commit 500a005aac
1 changed files with 1 additions and 1 deletions

View File

@ -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