Commit 7227fdff 7227fdff1b9f1337c3865d3bbb4d9e9069a667fd by Sergey Poznyakoff

Bugfix

* libproto/maildir/mbox.c (maildir_msg_finish_delivery):
Don't complain if trying to unlink a nonexistent file.
1 parent 4c698e8d
......@@ -540,7 +540,7 @@ maildir_msg_finish_delivery (struct _amd_data *amd, struct _amd_message *amm,
if (rc == 0)
{
if (unlink (newname))
if (unlink (newname) && errno != ENOENT)
{
rc = errno;
mu_debug (MU_DEBCAT_MAILBOX, MU_DEBUG_ERROR,
......