Explorar el Código

Spaceship: i starts from 1

Meo597 hace 7 meses
padre
commit
d01aefd1eb
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)