From efade330cd67baa39b99feb5d6dbeee66a265bac Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Tue, 26 Oct 1999 04:27:26 +0000 Subject: [PATCH] (main): ignore SIGPIPE git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7231 ec53bebd-3082-4978-b11e-865c3cabbd6b --- appl/rsh/rshd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/appl/rsh/rshd.c b/appl/rsh/rshd.c index 62d287ff7..0b5ce0a7d 100644 --- a/appl/rsh/rshd.c +++ b/appl/rsh/rshd.c @@ -848,6 +848,8 @@ main(int argc, char **argv) mini_inetd (port); } + signal (SIGPIPE, SIG_IGN); + doit (do_kerberos, do_rhosts); return 0; }