Skip to content

Commit e34f434

Browse files
author
Wayne Davison
committed
Don't try to send MSG_ERROR_EXIT after a timeout.
1 parent 4256264 commit e34f434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cleanup.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ NORETURN void _exit_cleanup(int code, const char *file, int line)
215215
#include "case_N.h"
216216

217217
if (exit_code && exit_code != RERR_SOCKETIO && exit_code != RERR_STREAMIO && exit_code != RERR_SIGNAL1
218-
&& !shutting_down && (protocol_version >= 31 || am_receiver)) {
218+
&& exit_code != RERR_TIMEOUT && !shutting_down && (protocol_version >= 31 || am_receiver)) {
219219
if (line > 0) {
220220
if (DEBUG_GTE(EXIT, 3)) {
221221
rprintf(FINFO, "[%s] sending MSG_ERROR_EXIT with exit_code %d\n",

0 commit comments

Comments
 (0)