dovecot-1.1: If inotify_add_watch() fails, log an error.
dovecot at dovecot.org
dovecot at dovecot.org
Mon May 5 18:41:37 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/3c0dd5c29aca
changeset: 7505:3c0dd5c29aca
user: Timo Sirainen <tss at iki.fi>
date: Mon May 05 18:41:32 2008 +0300
description:
If inotify_add_watch() fails, log an error.
diffstat:
1 file changed, 1 insertion(+)
src/lib/ioloop-notify-inotify.c | 1 +
diffs (11 lines):
diff -r 31e1382b315f -r 3c0dd5c29aca src/lib/ioloop-notify-inotify.c
--- 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 @@ enum io_notify_result io_add_notify(cons
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;
}
More information about the dovecot-cvs
mailing list