Merge pull request #833 from Neilpang/dev

Dev
This commit is contained in:
neil 2017-05-08 22:58:00 +08:00 committed by GitHub
commit 4320b8a5a5

View File

@ -124,9 +124,9 @@ _get_root() {
fi
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
p=$i
i=$(_math "$i" + 1)