From: Timo Sirainen Date: Fri, 28 Jun 2019 07:10:50 +0000 (+0300) Subject: doveadm: Fix "service stop" to not print "Interrupted system call" error X-Git-Tag: 2.3.9~416 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36b0d2a30edb96232578b91353cb8af2a65dafc7;p=thirdparty%2Fdovecot%2Fcore.git doveadm: Fix "service stop" to not print "Interrupted system call" error The "service stop" handler no longer needs to read the VERSION line. Broken by 2148805a75abd86d1769d9fd20652551cc5c5ac2 --- diff --git a/src/doveadm/doveadm-master.c b/src/doveadm/doveadm-master.c index 66f39f70dd..8e70c83071 100644 --- a/src/doveadm/doveadm-master.c +++ b/src/doveadm/doveadm-master.c @@ -145,8 +145,7 @@ static void cmd_service_stop(struct doveadm_cmd_context *cctx) master_service_send_cmd_with_args("STOP", services); alarm(5); - if (i_stream_read_next_line(input) == NULL || - (line = i_stream_read_next_line(input)) == NULL) { + if ((line = i_stream_read_next_line(input)) == NULL) { i_error("read(%s) failed: %s", i_stream_get_name(input), i_stream_get_error(input)); doveadm_exit_code = EX_TEMPFAIL;