]> git.proxmox.com Git - mirror_acme.sh.git/blobdiff - dnsapi/dns_namesilo.sh
fix: fix shellcheck
[mirror_acme.sh.git] / 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