diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-10-24 08:51:36 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-10-24 08:51:36 +0000 |
commit | eab5bb6ef68fa95fb6284b5c03d7bb44ccbead8a (patch) | |
tree | 70dbd027baecb80857489a64ae561b89166bd6e3 /usr.bin/ssh/clientloop.c | |
parent | e472047fce9f5140446bd2edc2c03178a30906b4 (diff) |
ignore SIGPIPE early, makes ssh work if agent dies, netbsd-pr via itojun@
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 0e477bc7936..7e6fe269ab1 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -59,7 +59,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: clientloop.c,v 1.84 2001/10/11 15:24:00 markus Exp $"); +RCSID("$OpenBSD: clientloop.c,v 1.85 2001/10/24 08:51:35 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -820,7 +820,6 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id) signal(SIGINT, signal_handler); signal(SIGQUIT, signal_handler); signal(SIGTERM, signal_handler); - signal(SIGPIPE, SIG_IGN); if (have_pty) signal(SIGWINCH, window_change_handler); |