Browse Source

fix dns_namesilo.sh _sub_domain error (fixed: #2441)

pull/2442/head
Sky Chen 6 years ago
committed by GitHub
parent
commit
c41b95a138
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_namesilo.sh

2
dnsapi/dns_namesilo.sh

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

Loading…
Cancel
Save