瀏覽代碼

Spaceship: i starts from 1

Meo597 5 月之前
父節點
當前提交
d01aefd1eb
共有 1 個文件被更改,包括 1 次插入1 次删除
  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)