2013-09-25 18:49:18 +02:00
|
|
|
Index: src/misc.c
|
|
|
|
===================================================================
|
2012-08-26 10:00:29 +02:00
|
|
|
--- src/misc.c.orig
|
|
|
|
+++ src/misc.c
|
2013-09-25 18:49:18 +02:00
|
|
|
@@ -311,6 +311,8 @@ void acquire_daemonlock(int closeflag) {
|
2012-08-26 10:00:29 +02:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
+ if(NoFork == 1) return; //move along, nothing to do here..
|
|
|
|
+
|
|
|
|
if (fd == -1) {
|
|
|
|
pidfile = _PATH_CRON_PID;
|
|
|
|
/* Initial mode is 0600 to prevent flock() race/DoS. */
|