]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
DEBUG: lib-master no longer verifies fd leaks for programs running standalone.
authorTimo Sirainen <tss@iki.fi>
Wed, 27 May 2009 00:23:26 +0000 (20:23 -0400)
committerTimo Sirainen <tss@iki.fi>
Wed, 27 May 2009 00:23:26 +0000 (20:23 -0400)
--HG--
branch : HEAD

src/lib-master/master-service.c

index 73a82b6c1fd46dd58d720d89ddd0c37843aa3d5b..bfcc8a0ef828024fb7cc2a5ed431837668e542af 100644 (file)
@@ -73,7 +73,8 @@ master_service_init(const char *name, enum master_service_flags flags,
        i_assert(name != NULL);
 
 #ifdef DEBUG
-       if (getenv("GDB") == NULL) {
+       if (getenv("GDB") == NULL &&
+           (flags & MASTER_SERVICE_FLAG_STANDALONE) == 0) {
                int count;
 
                str = getenv("SOCKET_COUNT");