]> andersk Git - openssh.git/blobdiff - ssh.c
- markus@cvs.openbsd.org 2001/10/24 08:51:35
[openssh.git] / ssh.c
diff --git a/ssh.c b/ssh.c
index dce7530bbfbf24600a213e7305c8fce9cbdf69f2..2984a597fb88c200042e137c9f62ae49ea24414a 100644 (file)
--- a/ssh.c
+++ b/ssh.c
@@ -39,7 +39,7 @@
  */
 
 #include "includes.h"
-RCSID("$OpenBSD: ssh.c,v 1.148 2001/10/24 08:41:20 markus Exp $");
+RCSID("$OpenBSD: ssh.c,v 1.149 2001/10/24 08:51:35 markus Exp $");
 
 #include <openssl/evp.h>
 #include <openssl/err.h>
@@ -752,6 +752,8 @@ again:
        options.user_hostfile2 =
            tilde_expand_filename(options.user_hostfile2, original_real_uid);
 
+       signal(SIGPIPE, SIG_IGN); /* ignore SIGPIPE early */
+
        /* Log into the remote system.  This never returns if the login fails. */
        ssh_login(sensitive_data.keys, sensitive_data.nkeys,
            host, (struct sockaddr *)&hostaddr, pw);
This page took 0.064288 seconds and 4 git commands to generate.