changeset 1205:29449ec44913 draft

small tweak
author cathugger <cathugger@cock.li>
date Sun, 13 May 2018 12:49:26 +0000
parents 2dcb03d77b03
children 08be53f67e42
files scripts/nameserver_autogen/bind_tld_zonefile.sh
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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"`