# HG changeset patch # User Timo Sirainen # Date 1236971543 14400 # Node ID 978010934c02f4a545269ac68e99694ca5dc25d5 # Parent 71cfd00e1375af2612b862932f7e73b561b6971f If login process core dumps, suggest using -D parameter. diff -r 71cfd00e1375 -r 978010934c02 src/master/child-process.c --- a/src/master/child-process.c Fri Mar 13 15:11:46 2009 -0400 +++ b/src/master/child-process.c Fri Mar 13 15:12:23 2009 -0400 @@ -142,8 +142,10 @@ return; /* let's try to figure out why we didn't get a core dump */ - if (process_type != PROCESS_TYPE_IMAP && - process_type != PROCESS_TYPE_POP3) + if (process_type == PROCESS_TYPE_LOGIN) + str_append(str, " (core not dumped - add -D to login_executable)"); + else if (process_type != PROCESS_TYPE_IMAP && + process_type != PROCESS_TYPE_POP3) str_append(str, " (core not dumped)"); #ifndef HAVE_PR_SET_DUMPABLE else if (!settings_root->defaults->mail_drop_priv_before_exec)