From 5b464543648c08538389a4dfeb0b6b60049bd084 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Sun, 26 May 2013 16:10:57 -0700 Subject: [PATCH] Forward a MSG_ERROR_EXIT value to generator too. Fixes bug 9882. --- io.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.c b/io.c index 771fc0fc..2c69b82d 100644 --- a/io.c +++ b/io.c @@ -1613,7 +1613,7 @@ static void read_a_msg(void) io_flush(FULL_FLUSH); } } else if (protocol_version >= 31) { - if (am_generator) { + if (am_generator || am_receiver) { if (DEBUG_GTE(EXIT, 3)) { rprintf(FINFO, "[%s] sending MSG_ERROR_EXIT with exit_code %d\n", who_am_i(), val); -- 2.47.2