Skip to content

Commit

Permalink
lib-storage: mailbox_autoexpunge_lock() - Don't hide ENOENT error
Browse files Browse the repository at this point in the history
It means that the user's home directory doesn't exist, which is pretty
unexpected. Home directory is supposed to be created when the storage is
initialized.
  • Loading branch information
sirainen authored and GitLab committed Jun 28, 2017
1 parent 67c05b6 commit 762d654
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/lib-storage/mail-autoexpunge.c
Expand Up @@ -50,8 +50,7 @@ mailbox_autoexpunge_lock(struct mail_user *user, struct file_lock **lock)
need to. */
return FALSE;
}
if (errno == ENOENT)
i_error("autoexpunge: Couldn't lock %s: %s", path, error);
i_error("autoexpunge: Couldn't lock %s: %s", path, error);
/* do autoexpunging anyway */
return TRUE;
}
Expand Down

0 comments on commit 762d654

Please sign in to comment.