Browse Source

Spaceship: i starts from 1

Meo597 5 months ago
parent
commit
d01aefd1eb
1 changed files with 1 additions and 1 deletions
  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)