RM TXT check

This commit is contained in:
LLeny 2018-09-08 07:06:16 +08:00
parent 7e130c2618
commit 30ee00ff50

View File

@ -270,8 +270,7 @@ _del_namecheap_TXT() {
while read -r host; do while read -r host; do
if _contains "$host" "<host"; then if _contains "$host" "<host"; then
_namecheap_parse_host "$host" _namecheap_parse_host "$host"
if [ "$_hosttype" = "TXT" ] && [ "$_hostname" = "$subdomain" ]; then if [ "$_hosttype" = "TXT" ] && [ "$_hostname" = "$subdomain" ] && [ "$_hostaddress" = "$txt" ]; then
#&& [ "$_hostaddress" = "$txt" ]
_debug "TXT entry found" _debug "TXT entry found"
found=1 found=1
else else