Spaceship: i starts from 1

This commit is contained in:
Meo597 2025-04-25 05:24:05 +08:00
parent e1d447847f
commit d01aefd1eb

View File

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