Sfoglia il codice sorgente

Spaceship: i starts from 1

Meo597 7 mesi fa
parent
commit
d01aefd1eb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      dnsapi/dns_spaceship.sh

+ 1 - 1
dnsapi/dns_spaceship.sh

@@ -143,7 +143,7 @@ _get_root() {
 
   _debug "Detecting root zone for '$domain'"
 
-  i=2
+  i=1
   p=1
   while true; do
     _cutdomain=$(printf "%s" "$domain" | cut -d . -f "$i"-100)