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; }