From: Timo Sirainen Date: Wed, 1 Apr 2015 23:12:41 +0000 (+0900) Subject: dsync: Improved error message when remote dsync-server couldn't be started. X-Git-Tag: 2.2.17.rc1~226 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eef454740ca28ea82cbabbb8407a6b11a997f89b;p=thirdparty%2Fdovecot%2Fcore.git dsync: Improved error message when remote dsync-server couldn't be started. --- diff --git a/src/doveadm/doveadm-dsync.c b/src/doveadm/doveadm-dsync.c index 8c62259115..90d0c8ec90 100644 --- a/src/doveadm/doveadm-dsync.c +++ b/src/doveadm/doveadm-dsync.c @@ -700,7 +700,9 @@ static void dsync_connected_callback(int exit_code, const char *error, break; default: ctx->error = p_strdup_printf(ctx->ctx.pool, - "Failed to start dsync-server command: %u", exit_code); + "Failed to start remote dsync-server command: " + "Remote exit_code=%u %s", + exit_code, error == NULL ? "" : error); break; } io_loop_stop(current_ioloop);