Mercurial > dovecot > core-2.2
changeset 5383:8b5844d257e7 HEAD
If chdir() failed, we still gave wrong reason
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Fri, 23 Mar 2007 01:33:01 +0200 |
parents | 7e0f9862b524 |
children | 2a6ff0bbc932 |
files | src/master/mail-process.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/master/mail-process.c Thu Mar 22 17:59:20 2007 +0200 +++ b/src/master/mail-process.c Fri Mar 23 01:33:01 2007 +0200 @@ -629,6 +629,7 @@ if (ret < 0 && (*chroot_dir != '\0' || !(ENOTFOUND(chdir_errno) || chdir_errno == EINTR))) { + errno = chdir_errno; i_fatal("chdir(%s) failed with uid %s: %m", full_home_dir, dec2str(uid)); }