Description: Fixed location of default file
 .
 ldap2zone (0.2-3) unstable; urgency=low
 .
   * Fixed installation of default file
Author: Cajus Pollmeier <cajus@debian.org>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: http://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: <YYYY-MM-DD>

--- ldap2zone-0.2.orig/ldap2bind
+++ ldap2zone-0.2/ldap2bind
@@ -85,8 +85,8 @@ for domain in $ZONES; do
 
 	result=$($rndc reload $domain 2>&1)
 	if [ $? -ne 0 ]; then
-		printf "Reloading the zone '$domain' failed: $result\n" 1>&2
+                logger -t ldap2bind "Reloading the zone '$domain' failed: $result\n"
 	else
-		printf "Reloading the zone '$domain' was successful\n" 1>&2
+                logger -t ldap2bind "Reloading the zone '$domain' was successful\n"
 	fi
 done
