summaryrefslogtreecommitdiff
path: root/scripts/nameserver_autogen
diff options
context:
space:
mode:
authorcathugger <cathugger@cock.li>2018-05-13 12:49:26 +0000
committercathugger <cathugger@cock.li>2018-05-13 12:49:26 +0000
commit04ba1e147711c23b860e2b657e4f55146316d8b1 (patch)
tree07453a2bf69972d541635d83cd0b8b20ee5a531a /scripts/nameserver_autogen
parenta3c85082a6d853db5368b0e85fac262d4888b3fd (diff)
downloadresdb-04ba1e147711c23b860e2b657e4f55146316d8b1.tar.gz
resdb-04ba1e147711c23b860e2b657e4f55146316d8b1.zip
small tweak
Diffstat (limited to 'scripts/nameserver_autogen')
-rwxr-xr-xscripts/nameserver_autogen/bind_tld_zonefile.sh2
1 files changed, 1 insertions, 1 deletions
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"`