From 198cfa793e7b6082f34cc9d4525a7a431c6d3ef8 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 6 Sep 2018 19:53:33 +0300 Subject: [PATCH] managesieve: Don't enable stats when dumping capability Otherwise stats process startup can get into a loop. --- src/managesieve/main.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/managesieve/main.c b/src/managesieve/main.c index c97117b98..2b18e1356 100644 --- a/src/managesieve/main.c +++ b/src/managesieve/main.c @@ -274,6 +274,8 @@ int main(int argc, char *argv[]) } else { service_flags |= MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN; } + if ( getenv("DUMP_CAPABILITY") != NULL ) + service_flags |= MASTER_SERVICE_FLAG_DONT_SEND_STATS; master_service = master_service_init("managesieve", service_flags, &argc, &argv, "t:u:");