diff src/pop3/main.c @ 12425:10c163bb5e22

"Running standalone?" check now uses a new DOVECOT_CHILD_PROCESS environment rather than GENERATION. The GENERATION environment was already set in some systems for Java.
author Timo Sirainen <tss@iki.fi>
date Mon, 15 Nov 2010 17:03:52 +0000
parents 0b77044fbdd4
children 0d455d1a9ea6
line wrap: on
line diff
--- a/src/pop3/main.c	Mon Nov 15 16:49:26 2010 +0000
+++ b/src/pop3/main.c	Mon Nov 15 17:03:52 2010 +0000
@@ -22,7 +22,7 @@
 #include <unistd.h>
 
 #define IS_STANDALONE() \
-        (getenv(MASTER_UID_ENV) == NULL)
+        (getenv(MASTER_IS_PARENT_ENV) == NULL)
 
 static bool verbose_proctitle = FALSE;
 static struct mail_storage_service_ctx *storage_service;