Mercurial > dovecot > original-hg > dovecot-1.2
changeset 8822:978010934c02 HEAD
If login process core dumps, suggest using -D parameter.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 13 Mar 2009 15:12:23 -0400 |
parents | 71cfd00e1375 |
children | fa0775526cf4 |
files | src/master/child-process.c |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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)