dovecot-2.0: login proxy: If proxy-login pipe isn't found, don't...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Sep 13 15:10:34 EEST 2010
details: http://hg.dovecot.org/dovecot-2.0/rev/7b629b219be5
changeset: 12102:7b629b219be5
user: Timo Sirainen <tss at iki.fi>
date: Mon Sep 13 13:10:31 2010 +0100
description:
login proxy: If proxy-login pipe isn't found, don't log an error.
The pipe exists only when director is enabled.
diffstat:
src/login-common/login-proxy-state.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r f97b0b163e01 -r 7b629b219be5 src/login-common/login-proxy-state.c
--- a/src/login-common/login-proxy-state.c Mon Sep 13 11:56:08 2010 +0100
+++ b/src/login-common/login-proxy-state.c Mon Sep 13 13:10:31 2010 +0100
@@ -93,7 +93,8 @@
state->notify_fd = open(state->notify_path, O_WRONLY);
if (state->notify_fd == -1) {
- i_error("open(%s) failed: %m", state->notify_path);
+ if (errno != ENOENT)
+ i_error("open(%s) failed: %m", state->notify_path);
state->notify_fd_broken = TRUE;
return -1;
}
More information about the dovecot-cvs
mailing list