From: djm@openbsd.org Date: Fri, 6 Dec 2024 15:17:15 +0000 (+0000) Subject: upstream: ignore SIGPIPE here; some downstreams have had this for X-Git-Tag: V_10_0_P1~96 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5488810359f0fd91e2f7b919c70a3798e46376cb;p=thirdparty%2Fopenssh-portable.git upstream: ignore SIGPIPE here; some downstreams have had this for years... OpenBSD-Commit-ID: 73674ee4f8ceb8fc9cb8de71d8ddea0c721eb035 --- diff --git a/ssh-keyscan.c b/ssh-keyscan.c index 2a9f47a8d..3436c0b5c 100644 --- a/ssh-keyscan.c +++ b/ssh-keyscan.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh-keyscan.c,v 1.164 2024/10/18 05:32:51 djm Exp $ */ +/* $OpenBSD: ssh-keyscan.c,v 1.165 2024/12/06 15:17:15 djm Exp $ */ /* * Copyright 1995, 1996 by David Mazieres . * @@ -802,6 +802,7 @@ main(int argc, char **argv) for (j = 0; j < maxfd; j++) read_wait[j].fd = -1; + ssh_signal(SIGPIPE, SIG_IGN); for (j = 0; j < fopt_count; j++) { if (argv[j] == NULL) fp = stdin;