소스 검색

Spaceship: i starts from 1

Meo597 7 달 전
부모
커밋
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)