X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/304d7b5817d6e1d3cf59b9edae2213433d901cdc..907e6a32a00ace7cf1e96f9c9132f83f4a208430:/cleanup.c?ds=sidebyside diff --git a/cleanup.c b/cleanup.c index 5d0b92f8..63118e6b 100644 --- a/cleanup.c +++ b/cleanup.c @@ -213,8 +213,8 @@ NORETURN void _exit_cleanup(int code, const char *file, int line) /* FALLTHROUGH */ #include "case_N.h" - if (exit_code && exit_code != RERR_STREAMIO && exit_code != RERR_SIGNAL1 - && (protocol_version >= 31 || am_server || (!am_sender && !am_generator))) { + if (exit_code && exit_code != RERR_SOCKETIO && exit_code != RERR_STREAMIO && exit_code != RERR_SIGNAL1 + && (protocol_version >= 31 || (!am_sender && !am_generator))) { if (line > 0) send_msg_int(MSG_ERROR_EXIT, exit_code); noop_io_until_death();