neil 2022-08-26 19:47:45 +08:00
parent 238ecfc539
commit 3dde83d8a0
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ _get_root() {
return 1
fi
if _contains "$response" "<domain>$host"; then
if _contains "$response" ">$host</domain>"; then
_sub_domain=$(printf "%s" "$domain" | cut -d . -f 1-$p)
_domain="$host"
return 0