]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: test-smtp-payload: Ignore SIGPIPE.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Fri, 9 Feb 2018 21:09:47 +0000 (22:09 +0100)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Wed, 6 Feb 2019 08:08:17 +0000 (10:08 +0200)
src/lib-smtp/test-smtp-payload.c

index 29b633a24f9f75f3bd0d1cea5a1ea91c980912d3..ea7b337a8a4c29b3fabe380cec27c22d7af23d36 100644 (file)
@@ -960,6 +960,7 @@ int main(int argc, char *argv[])
 
        atexit(test_atexit);
        (void)signal(SIGCHLD, SIG_IGN);
+       (void)signal(SIGPIPE, SIG_IGN);
        (void)signal(SIGTERM, test_signal_handler);
        (void)signal(SIGQUIT, test_signal_handler);
        (void)signal(SIGINT, test_signal_handler);