]> git.proxmox.com Git - mirror_acme.sh.git/commitdiff
fix https://github.com/acmesh-official/acme.sh/issues/4268
authorneil <github@neilpang.com>
Fri, 26 Aug 2022 11:47:45 +0000 (19:47 +0800)
committerneil <github@neilpang.com>
Fri, 26 Aug 2022 11:47:45 +0000 (19:47 +0800)
dnsapi/dns_namesilo.sh

index 0b87b7f784b69abf22f5b361e474e53e4f518e71..f961d0bd118232529b9916cbfd74c558d22e8612 100755 (executable)
@@ -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