]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-smtp: test-smtp-server-errors - Ignore SIGPIPE.
authorStephan Bosch <stephan.bosch@open-xchange.com>
Wed, 8 Apr 2020 22:16:54 +0000 (00:16 +0200)
committerStephan Bosch <stephan.bosch@open-xchange.com>
Mon, 25 May 2020 15:29:02 +0000 (17:29 +0200)
src/lib-smtp/test-smtp-server-errors.c

index 5a9e69f59478c4690f07dd44f02d06d825dc81d8..e138022aa90559c9d8e7e4c42dbfb11922c893d5 100644 (file)
@@ -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);