Bugfix
* libproto/maildir/mbox.c (maildir_msg_finish_delivery): Don't complain if trying to unlink a nonexistent file.
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -540,7 +540,7 @@ maildir_msg_finish_delivery (struct _amd_data *amd, struct _amd_message *amm, | ... | @@ -540,7 +540,7 @@ maildir_msg_finish_delivery (struct _amd_data *amd, struct _amd_message *amm, |
540 | 540 | ||
541 | if (rc == 0) | 541 | if (rc == 0) |
542 | { | 542 | { |
543 | if (unlink (newname)) | 543 | if (unlink (newname) && errno != ENOENT) |
544 | { | 544 | { |
545 | rc = errno; | 545 | rc = errno; |
546 | mu_debug (MU_DEBCAT_MAILBOX, MU_DEBUG_ERROR, | 546 | mu_debug (MU_DEBCAT_MAILBOX, MU_DEBUG_ERROR, | ... | ... |
-
Please register or sign in to post a comment