Fix root zone determination for Variomedia API

pull/4787/head
Tobias Grave 2023-09-14 09:15:08 +02:00
parent ae4c186f55
commit dfd49e46ad
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ dns_variomedia_rm() {
# _domain=domain.com
_get_root() {
domain=$1
i=2
i=1
p=1
while true; do
h=$(printf "%s" "$domain" | cut -d . -f $i-100)