[Opendnssec-commits] [keihatsu.kirei.se/svn/dnssec] r4073 - trunk/ods4bind

Jakob Schlyter jakob at kirei.se
Mon Oct 11 11:01:28 CEST 2010


Author: jakob
Date: 2010-10-11 11:01:28 +0200 (Mon, 11 Oct 2010)
New Revision: 4073

Modified:
   trunk/ods4bind/ods4bind.pl
Log:
keyfile patch from nominet

Modified: trunk/ods4bind/ods4bind.pl
===================================================================
--- trunk/ods4bind/ods4bind.pl	2010-10-07 14:31:40 UTC (rev 4072)
+++ trunk/ods4bind/ods4bind.pl	2010-10-11 09:01:28 UTC (rev 4073)
@@ -466,8 +466,10 @@
             chomp $keyfile;
             close(KEYFROMLABEL);
 
+            message_debug("Keyfile: %s", $keyfile);
+
             my $filename = sprintf("%s/%s", $dir, $keyfile);
-            unless (-f $filename) {
+            unless (-f "$filename.private") {
                 message_error("Failed extracting keys for zone %s, label %s",
                     $zone, $label);
                 return ();




More information about the Opendnssec-commits mailing list