mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
tests: Ignore SIGPIPE in pkd
Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit d7a64b9519)
This commit is contained in:
@@ -438,6 +438,9 @@ static void *pkd_main(void *args) {
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* Ignore SIGPIPE */
|
||||
signal(SIGPIPE, SIG_IGN);
|
||||
|
||||
rc = pkd_init_libssh();
|
||||
if (rc != 0) {
|
||||
pkderr("pkd_init_libssh: %d\n", rc);
|
||||
|
||||
Reference in New Issue
Block a user