Fix for no entries.
authorRoy Marples <roy@marples.name>
Sat, 30 Oct 2010 12:19:21 +0000 (12:19 +0000)
committerRoy Marples <roy@marples.name>
Sat, 30 Oct 2010 12:19:21 +0000 (12:19 +0000)
pdnsd.in

index e78d703eb153fb15a37db68f595f8d6736932237..ff3b9b23ab5a975c579b2a51474c10f6782c73a6 100644 (file)
--- a/pdnsd.in
+++ b/pdnsd.in
@@ -107,8 +107,9 @@ if [ -n "$pdnsd_conf" ]; then
                                fi
                                newconf="$newconf$n"
                        done
                                fi
                                newconf="$newconf$n"
                        done
-                       newconf="${newconf};\n}\n"
+                       newconf="${newconf};\n"
                fi
                fi
+               newconf="${newconf}}\n"
        fi
 
        for d in $DOMAINS; do
        fi
 
        for d in $DOMAINS; do