|
@ -124,9 +124,9 @@ _get_root() { |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
if _contains "$response" "\"zone\":\"$h\""; then |
|
|
if _contains "$response" "\"zone\":\"$h\""; then |
|
|
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p) |
|
|
|
|
|
_domain="$h" |
|
|
|
|
|
return 0 |
|
|
|
|
|
|
|
|
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p) |
|
|
|
|
|
_domain="$h" |
|
|
|
|
|
return 0 |
|
|
fi |
|
|
fi |
|
|
p=$i |
|
|
p=$i |
|
|
i=$(_math "$i" + 1) |
|
|
i=$(_math "$i" + 1) |
|
|