tests: Ignore SIGPIPE in pkd

Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
(cherry picked from commit d7a64b9519)
This commit is contained in:
Andreas Schneider
2018-08-31 14:00:14 +02:00
parent 3c4403c400
commit 4d26e08789

View File

@@ -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);