aboutsummaryrefslogtreecommitdiffstats
path: root/g10/signal.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/signal.c')
-rw-r--r--g10/signal.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/g10/signal.c b/g10/signal.c
index 1f599d9d0..364fb47a4 100644
--- a/g10/signal.c
+++ b/g10/signal.c
@@ -99,6 +99,8 @@ init_signals()
do_sigaction( SIGSEGV, &nact );
nact.sa_handler = got_usr_signal;
sigaction( SIGUSR1, &nact, NULL );
+ nact.sa_handler = SIG_IGN;
+ sigaction( SIGPIPE, &nact, NULL );
#endif
}