Commit e34f4349 authored by Wayne Davison's avatar Wayne Davison

Don't try to send MSG_ERROR_EXIT after a timeout.

parent 42562649
......@@ -215,7 +215,7 @@ NORETURN void _exit_cleanup(int code, const char *file, int line)
#include "case_N.h"
if (exit_code && exit_code != RERR_SOCKETIO && exit_code != RERR_STREAMIO && exit_code != RERR_SIGNAL1
&& !shutting_down && (protocol_version >= 31 || am_receiver)) {
&& exit_code != RERR_TIMEOUT && !shutting_down && (protocol_version >= 31 || am_receiver)) {
if (line > 0) {
if (DEBUG_GTE(EXIT, 3)) {
rprintf(FINFO, "[%s] sending MSG_ERROR_EXIT with exit_code %d\n",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment