summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-11-12 10:52:03 +1100
committerDamien Miller <djm@mindrot.org>2001-11-12 10:52:03 +1100
commit07cd5897f9854e2f835614027dd321ba17910013 (patch)
tree9a6d68fcb93c565b1c053cdcba49f1fbddc38cfa /clientloop.c
parent595bb4f5728b12baf12b434b6fc48d15552ec9a2 (diff)
- markus@cvs.openbsd.org 2001/10/24 08:51:35
[clientloop.c ssh.c] ignore SIGPIPE early, makes ssh work if agent dies, netbsd-pr via itojun@
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/clientloop.c b/clientloop.c
index 0e477bc79..7e6fe269a 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -59,7 +59,7 @@
59 */ 59 */
60 60
61#include "includes.h" 61#include "includes.h"
62RCSID("$OpenBSD: clientloop.c,v 1.84 2001/10/11 15:24:00 markus Exp $"); 62RCSID("$OpenBSD: clientloop.c,v 1.85 2001/10/24 08:51:35 markus Exp $");
63 63
64#include "ssh.h" 64#include "ssh.h"
65#include "ssh1.h" 65#include "ssh1.h"
@@ -820,7 +820,6 @@ client_loop(int have_pty, int escape_char_arg, int ssh2_chan_id)
820 signal(SIGINT, signal_handler); 820 signal(SIGINT, signal_handler);
821 signal(SIGQUIT, signal_handler); 821 signal(SIGQUIT, signal_handler);
822 signal(SIGTERM, signal_handler); 822 signal(SIGTERM, signal_handler);
823 signal(SIGPIPE, SIG_IGN);
824 if (have_pty) 823 if (have_pty)
825 signal(SIGWINCH, window_change_handler); 824 signal(SIGWINCH, window_change_handler);
826 825