repo: resdb
action: commit
revision: 
path_from: 
revision_from: 202331dbb514446ec9cbf04dee56a0434c72727a:
path_to: 
revision_to: 
git.thebackupbox.net
resdb
git clone git://git.thebackupbox.net/resdb
commit 202331dbb514446ec9cbf04dee56a0434c72727a
Author: Nick 
Date:   Thu Nov 10 05:42:38 2011 +0000

    bugfix (thx Nomius)

diff --git a/scripts/nameserver_autogen/dnsmasq_tld_conffile b/scripts/nameserver_autogen/dnsmasq_tld_conffile
index f1556013b676b5bfe0dc6e978fe6dbc7d70e8eaf..
index ..95c1a48291966a38dd5a7da92b99391d1257985d 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

-----END OF PAGE-----