aboutsummaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rw-r--r--init/init.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/init/init.c b/init/init.c
index 02a33274a..8c32b7791 100644
--- a/init/init.c
+++ b/init/init.c
@@ -880,8 +880,7 @@ static void reload_signal(int sig ATTRIBUTE_UNUSED)
880 /* remove unused entrys */ 880 /* remove unused entrys */
881 for (a = init_action_list; a; a = tmp) { 881 for (a = init_action_list; a; a = tmp) {
882 tmp = a->next; 882 tmp = a->next;
883 if (a->action & (ONCE | SYSINIT | WAIT ) && 883 if ((a->action & (ONCE | SYSINIT | WAIT)) && a->pid == 0) {
884 a->pid == 0 ) {
885 delete_init_action(a); 884 delete_init_action(a);
886 } 885 }
887 } 886 }