dovecot-2.2: dsync: If we get disconnected from remoset server, ...

dovecot at dovecot.org dovecot at dovecot.org
Thu Feb 26 18:25:51 UTC 2015


details:   http://hg.dovecot.org/dovecot-2.2/rev/6d788397444e
changeset: 18277:6d788397444e
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Feb 26 20:24:16 2015 +0200
description:
dsync: If we get disconnected from remoset server, exit with EX_TEMPFAIL
Instead of 1000, which gets truncated to 232.

diffstat:

 src/doveadm/doveadm-dsync.c |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r e7c65fa3ffa9 -r 6d788397444e src/doveadm/doveadm-dsync.c
--- a/src/doveadm/doveadm-dsync.c	Wed Feb 25 18:58:50 2015 +0200
+++ b/src/doveadm/doveadm-dsync.c	Thu Feb 26 20:24:16 2015 +0200
@@ -686,6 +686,7 @@
 					  &ctx->output, &ctx->ssl_iostream);
 		break;
 	case SERVER_EXIT_CODE_DISCONNECTED:
+		ctx->ctx.exit_code = EX_TEMPFAIL;
 		ctx->error = p_strdup_printf(ctx->ctx.pool,
 			"Disconnected from remote: %s", error);
 		break;


More information about the dovecot-cvs mailing list