projects
/
platform
/
upstream
/
toybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
79191b6
)
Isaac Dunham pointed out that SIGINT's handler was set twice in init.c.
author
Rob Landley
<rob@landley.net>
Sat, 8 Aug 2015 22:05:45 +0000
(17:05 -0500)
committer
Rob Landley
<rob@landley.net>
Sat, 8 Aug 2015 22:05:45 +0000
(17:05 -0500)
toys/pending/init.c
patch
|
blob
|
history
diff --git
a/toys/pending/init.c
b/toys/pending/init.c
index
8d0d3f0
..
d9e78ff
100644
(file)
--- 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();