Mercurial > dovecot > original-hg > dovecot-1.2
changeset 7505:3c0dd5c29aca HEAD
If inotify_add_watch() fails, log an error.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 05 May 2008 18:41:32 +0300 |
parents | 31e1382b315f |
children | 118ae423dbc4 |
files | src/lib/ioloop-notify-inotify.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lib/ioloop-notify-inotify.c Mon May 05 18:39:56 2008 +0300 +++ b/src/lib/ioloop-notify-inotify.c Mon May 05 18:41:32 2008 +0300 @@ -106,6 +106,7 @@ if (errno == ENOENT || errno == ESTALE) return IO_NOTIFY_NOTFOUND; + i_error("inotify_add_watch(%s) failed: %m", path); ctx->disabled = TRUE; return IO_NOTIFY_NOSUPPORT; }