← Commit list

99a61842d

Denis Vlasenko
Denis Vlasenko
2008-02-19
FAILED Duration: 23s

Subject

init: HUP should not be temporarily set to "restart", we use it for config reload, and we have QUIT for "restart".

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

init/init.c+1 -4
@@ -853,10 +853,7 @@ int init_main(int argc, char **argv)
}
/* Set up sig handlers -- be sure to
* clear all of these in run() */
- bb_signals(0
- + (1 << SIGHUP)
- + (1 << SIGQUIT)
- , exec_restart_action);
+ signal(SIGQUIT, exec_restart_action);
bb_signals(0
+ (1 << SIGUSR1) /* halt */
+ (1 << SIGUSR2) /* poweroff */