diff options
-rw-r--r-- | init/init.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c index 8d706fe1f..8eaf61f96 100644 --- a/init/init.c +++ b/init/init.c | |||
@@ -853,10 +853,7 @@ int init_main(int argc, char **argv) | |||
853 | } | 853 | } |
854 | /* Set up sig handlers -- be sure to | 854 | /* Set up sig handlers -- be sure to |
855 | * clear all of these in run() */ | 855 | * clear all of these in run() */ |
856 | bb_signals(0 | 856 | signal(SIGQUIT, exec_restart_action); |
857 | + (1 << SIGHUP) | ||
858 | + (1 << SIGQUIT) | ||
859 | , exec_restart_action); | ||
860 | bb_signals(0 | 857 | bb_signals(0 |
861 | + (1 << SIGUSR1) /* halt */ | 858 | + (1 << SIGUSR1) /* halt */ |
862 | + (1 << SIGUSR2) /* poweroff */ | 859 | + (1 << SIGUSR2) /* poweroff */ |