oops
This commit is contained in:
parent
3c8064ff69
commit
d5a2780aa2
@ -190,6 +190,7 @@ static const char * const environment[] = {
|
|||||||
/* Function prototypes */
|
/* Function prototypes */
|
||||||
static void delete_init_action(struct init_action *a);
|
static void delete_init_action(struct init_action *a);
|
||||||
static int waitfor(const struct init_action *a);
|
static int waitfor(const struct init_action *a);
|
||||||
|
static void halt_signal(int sig);
|
||||||
|
|
||||||
|
|
||||||
static void loop_forever(void)
|
static void loop_forever(void)
|
||||||
@ -723,6 +724,8 @@ static void exec_signal(int sig)
|
|||||||
for (a = init_action_list; a; a = tmp) {
|
for (a = init_action_list; a; a = tmp) {
|
||||||
tmp = a->next;
|
tmp = a->next;
|
||||||
if (a->action & RESTART) {
|
if (a->action & RESTART) {
|
||||||
|
struct stat sb;
|
||||||
|
|
||||||
shutdown_system();
|
shutdown_system();
|
||||||
|
|
||||||
/* unblock all signals, blocked in shutdown_system() */
|
/* unblock all signals, blocked in shutdown_system() */
|
||||||
|
Loading…
Reference in New Issue
Block a user