From: Stephan Bosch Date: Wed, 8 Apr 2020 22:16:54 +0000 (+0200) Subject: lib-smtp: test-smtp-server-errors - Ignore SIGPIPE. X-Git-Tag: 2.3.13~628 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ecf3cca0f081d72a486bd803324d45d9bcfe1253;p=thirdparty%2Fdovecot%2Fcore.git lib-smtp: test-smtp-server-errors - Ignore SIGPIPE. --- diff --git a/src/lib-smtp/test-smtp-server-errors.c b/src/lib-smtp/test-smtp-server-errors.c index 5a9e69f594..e138022aa9 100644 --- a/src/lib-smtp/test-smtp-server-errors.c +++ b/src/lib-smtp/test-smtp-server-errors.c @@ -3067,6 +3067,7 @@ int main(int argc, char *argv[]) int c; atexit(test_atexit); + (void)signal(SIGPIPE, SIG_IGN); (void)signal(SIGTERM, test_signal_handler); (void)signal(SIGQUIT, test_signal_handler); (void)signal(SIGINT, test_signal_handler);