[Opendnssec-commits] [svn.opendnssec.org/svn/dnssec] r6199 - in branches/OpenDNSSEC-1.3: . enforcer/common

matthijs at nlnetlabs.nl matthijs at nlnetlabs.nl
Wed Mar 7 11:26:59 CET 2012


Author: matthijs
Date: 2012-03-07 11:26:59 +0100 (Wed, 07 Mar 2012)
New Revision: 6199

Modified:
   branches/OpenDNSSEC-1.3/enforcer/common/daemon_util.c
   branches/OpenDNSSEC-1.3/version.m4
Log:
OPENDNSSEC-217: prevent "cannot write pidfile: Success" message

+ bump version



Modified: branches/OpenDNSSEC-1.3/enforcer/common/daemon_util.c
===================================================================
--- branches/OpenDNSSEC-1.3/enforcer/common/daemon_util.c	2012-03-07 10:07:35 UTC (rev 6198)
+++ branches/OpenDNSSEC-1.3/enforcer/common/daemon_util.c	2012-03-07 10:26:59 UTC (rev 6199)
@@ -430,7 +430,7 @@
                         "If no ods-enforcerd process is running, a previous "
                         "instance didn't shutdown cleanly, please remove this "
                         "file and try again.", config->pidfile, oldpid);
-                    return -1;
+                    exit(1);
                 } else {
                     log_msg(config, LOG_WARNING, "pidfile %s already exists, "
                         "but no process with pid %u is running. "

Modified: branches/OpenDNSSEC-1.3/version.m4
===================================================================
--- branches/OpenDNSSEC-1.3/version.m4	2012-03-07 10:07:35 UTC (rev 6198)
+++ branches/OpenDNSSEC-1.3/version.m4	2012-03-07 10:26:59 UTC (rev 6199)
@@ -2,4 +2,4 @@
 #
 # this file contains the current OpenDNSSEC version
 
-define([OPENDNSSEC_VERSION], [1.3.6])
+define([OPENDNSSEC_VERSION], [1.3.7])




More information about the Opendnssec-commits mailing list