From b73f89429f4a28bc1c694094b97abd011a9a2f9e Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Sat, 8 Aug 2015 17:05:45 -0500 Subject: [PATCH] Isaac Dunham pointed out that SIGINT's handler was set twice in init.c. --- toys/pending/init.c | 1 - 1 file changed, 1 deletion(-) diff --git a/toys/pending/init.c b/toys/pending/init.c index 8d0d3f0..d9e78ff 100644 --- a/toys/pending/init.c +++ b/toys/pending/init.c @@ -473,7 +473,6 @@ void init_main(void) sigaction(SIGTSTP, &sig_act, NULL); memset(&sig_act, 0, sizeof(sig_act)); sig_act.sa_handler = catch_signal; - sigaction(SIGINT, &sig_act, NULL); sigaction(SIGHUP, &sig_act, NULL); run_action_from_list(SYSINIT); check_if_pending_signals(); -- 2.7.4