From 04ba1e147711c23b860e2b657e4f55146316d8b1 Mon Sep 17 00:00:00 2001 From: cathugger Date: Sun, 13 May 2018 12:49:26 +0000 Subject: small tweak --- scripts/nameserver_autogen/bind_tld_zonefile.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/nameserver_autogen/bind_tld_zonefile.sh') diff --git a/scripts/nameserver_autogen/bind_tld_zonefile.sh b/scripts/nameserver_autogen/bind_tld_zonefile.sh index fe78a45..8ead9ae 100755 --- a/scripts/nameserver_autogen/bind_tld_zonefile.sh +++ b/scripts/nameserver_autogen/bind_tld_zonefile.sh @@ -66,7 +66,7 @@ for TLD in $TLDS;do 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"` -- cgit v1.2.3