# HG changeset patch # User cathugger # Date 1526215766 0 # Node ID 29449ec449139a3f783290b2d18eebee106465a2 # Parent 2dcb03d77b036674563ce302f51aba586861dab3 small tweak diff -r 2dcb03d77b03 -r 29449ec44913 scripts/nameserver_autogen/bind_tld_zonefile.sh --- a/scripts/nameserver_autogen/bind_tld_zonefile.sh Sun May 13 12:40:39 2018 +0000 +++ b/scripts/nameserver_autogen/bind_tld_zonefile.sh Sun May 13 12:49:26 2018 +0000 @@ -66,7 +66,7 @@ echo '@ IN A 127.0.0.1' >> "$ANO_ZONEFILE".tmp for name in *;do - if [ -e "$name/ns/" ];then + if [ -d "$name/ns" ];then for server in "$name"/ns/*;do [ -e "$server" ] || continue fqserver=`cut -d/ -f3- <<< "$server"`