diff options
author | Rob Landley <rob@landley.net> | 2015-08-08 17:05:45 -0500 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2015-08-08 17:05:45 -0500 |
commit | b73f89429f4a28bc1c694094b97abd011a9a2f9e (patch) | |
tree | 825f94c9bd71fbe196d8d6d93cb3ed8a15afcc82 /toys | |
parent | 79191b6c4857ee08f093ba792c9d9db4cb4f1258 (diff) | |
download | toybox-b73f89429f4a28bc1c694094b97abd011a9a2f9e.tar.gz toybox-b73f89429f4a28bc1c694094b97abd011a9a2f9e.tar.bz2 toybox-b73f89429f4a28bc1c694094b97abd011a9a2f9e.zip |
Isaac Dunham pointed out that SIGINT's handler was set twice in init.c.
Diffstat (limited to 'toys')
-rw-r--r-- | toys/pending/init.c | 1 |
1 files changed, 0 insertions, 1 deletions
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(); |