dovecot-2.2: mailbox_list_index=yes: Don't log an error when ver...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Aug 13 15:23:46 EEST 2012
details: http://hg.dovecot.org/dovecot-2.2/rev/026b688b379f
changeset: 14897:026b688b379f
user: Timo Sirainen <tss at iki.fi>
date: Mon Aug 13 15:15:07 2012 +0300
description:
mailbox_list_index=yes: Don't log an error when verifying existence of already deleted mailbox.
diffstat:
src/lib-storage/index/index-sync.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r d76732546de3 -r 026b688b379f src/lib-storage/index/index-sync.c
--- a/src/lib-storage/index/index-sync.c Mon Aug 13 15:12:41 2012 +0300
+++ b/src/lib-storage/index/index-sync.c Mon Aug 13 15:15:07 2012 +0300
@@ -489,6 +489,8 @@
MAILBOX_LIST_PATH_TYPE_INDEX);
path = t_strconcat(dir, "/", box->index_prefix, ".log", NULL);
if (stat(path, &st) < 0) {
+ if (errno == ENOENT)
+ return 1;
mail_storage_set_critical(box->storage,
"stat(%s) failed: %m", path);
return -1;
More information about the dovecot-cvs
mailing list