diff options
author | cathugger <cathugger@cock.li> | 2018-05-13 12:49:26 +0000 |
---|---|---|
committer | cathugger <cathugger@cock.li> | 2018-05-13 12:49:26 +0000 |
commit | 04ba1e147711c23b860e2b657e4f55146316d8b1 (patch) | |
tree | 07453a2bf69972d541635d83cd0b8b20ee5a531a | |
parent | a3c85082a6d853db5368b0e85fac262d4888b3fd (diff) | |
download | resdb-04ba1e147711c23b860e2b657e4f55146316d8b1.tar.gz resdb-04ba1e147711c23b860e2b657e4f55146316d8b1.zip |
small tweak
-rwxr-xr-x | scripts/nameserver_autogen/bind_tld_zonefile.sh | 2 |
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"` |