]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
login proxy: If proxy-login pipe isn't found, don't log an error.
authorTimo Sirainen <tss@iki.fi>
Mon, 13 Sep 2010 12:10:31 +0000 (13:10 +0100)
committerTimo Sirainen <tss@iki.fi>
Mon, 13 Sep 2010 12:10:31 +0000 (13:10 +0100)
The pipe exists only when director is enabled.

src/login-common/login-proxy-state.c

index 3692aa210791a834dcf2d4c8d26640159d9f663d..5327617d92c7f7248b5f0006d809a557a93ae698 100644 (file)
@@ -93,7 +93,8 @@ static int login_proxy_state_notify_open(struct login_proxy_state *state)
 
        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;
        }