Mercurial > dovecot > core-2.2
changeset 14897:026b688b379f
mailbox_list_index=yes: Don't log an error when verifying existence of already deleted mailbox.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 13 Aug 2012 15:15:07 +0300 |
parents | d76732546de3 |
children | a16d77a075bb |
files | src/lib-storage/index/index-sync.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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;