summaryrefslogtreecommitdiff
path: root/scripts/nameserver_autogen/dnsmasq_tld_conffile
diff options
context:
space:
mode:
authorNick <nick@somerandomnick.ano>2011-11-10 05:42:38 +0000
committerNick <nick@somerandomnick.ano>2011-11-10 05:42:38 +0000
commit202331dbb514446ec9cbf04dee56a0434c72727a (patch)
treea1e1cabad0dc777a67f5c457bfc9e4f5c19e8237 /scripts/nameserver_autogen/dnsmasq_tld_conffile
parent587ffc8289e2d65429ed5993d8d08cad5a800626 (diff)
downloadresdb-202331dbb514446ec9cbf04dee56a0434c72727a.tar.gz
resdb-202331dbb514446ec9cbf04dee56a0434c72727a.zip
bugfix (thx Nomius)
Diffstat (limited to 'scripts/nameserver_autogen/dnsmasq_tld_conffile')
-rwxr-xr-xscripts/nameserver_autogen/dnsmasq_tld_conffile2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nameserver_autogen/dnsmasq_tld_conffile b/scripts/nameserver_autogen/dnsmasq_tld_conffile
index f155601..95c1a48 100755
--- a/scripts/nameserver_autogen/dnsmasq_tld_conffile
+++ b/scripts/nameserver_autogen/dnsmasq_tld_conffile
@@ -31,7 +31,7 @@ echo
for tld in $($LS db/dom/); do
for domain in $($LS db/dom/${tld}/); do
- if [ -d $($LS db/dom/${tld}/{$domain}/ns/ ]; then
+ if [ -d $($LS db/dom/${tld}/{$domain}/ns/) ]; then
for ns in $($LS db/dom/${tld}/${domain}/ns/); do
STR="server=/${domain}.${tld}/$(scripts/ns2ip -f ${ns})"
echo $STR