Skip to content

Commit

Permalink
managesieve: Don't enable stats when dumping capability
Browse files Browse the repository at this point in the history
Otherwise stats process startup can get into a loop.
  • Loading branch information
sirainen authored and villesavolainen committed Nov 14, 2018
1 parent df99d64 commit 198cfa7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/managesieve/main.c
Expand Up @@ -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:");
Expand Down

0 comments on commit 198cfa7

Please sign in to comment.