summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/ssh-agent.c
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2001-07-04 22:47:20 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2001-07-04 22:47:20 +0000
commitf3ef27fb934a928f071f60eb897e858387388e64 (patch)
treea3dc50d9c047da41ddd34423284b3d581d7c3ce0 /usr.bin/ssh/ssh-agent.c
parent503d6ddfeeaa7b969dca1f618abb7b0f1b675113 (diff)
ignore SIGPIPE when debugging, too
Diffstat (limited to 'usr.bin/ssh/ssh-agent.c')
-rw-r--r--usr.bin/ssh/ssh-agent.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/usr.bin/ssh/ssh-agent.c b/usr.bin/ssh/ssh-agent.c
index eb4f69d9a22..405eca3d69c 100644
--- a/usr.bin/ssh/ssh-agent.c
+++ b/usr.bin/ssh/ssh-agent.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ssh-agent.c,v 1.60 2001/06/27 05:42:25 markus Exp $ */
+/* $OpenBSD: ssh-agent.c,v 1.61 2001/07/04 22:47:19 markus Exp $ */
/*
* Author: Tatu Ylonen <ylo@cs.hut.fi>
@@ -36,7 +36,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: ssh-agent.c,v 1.60 2001/06/27 05:42:25 markus Exp $");
+RCSID("$OpenBSD: ssh-agent.c,v 1.61 2001/07/04 22:47:19 markus Exp $");
#include <openssl/evp.h>
#include <openssl/md5.h>
@@ -980,10 +980,9 @@ skip:
alarm(10);
}
idtab_init();
- if (!d_flag) {
+ if (!d_flag)
signal(SIGINT, SIG_IGN);
- signal(SIGPIPE, SIG_IGN);
- }
+ signal(SIGPIPE, SIG_IGN);
signal(SIGHUP, cleanup_handler);
signal(SIGTERM, cleanup_handler);
while (1) {