From: Eric Andersen Date: Mon, 12 Apr 2004 19:21:54 +0000 (-0000) Subject: Silly me X-Git-Tag: 1_00_pre10~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=87812dc3b07eb4c1f69432133883d2dd5b771705;p=oweals%2Fbusybox.git Silly me --- diff --git a/init/init.c b/init/init.c index fd1443e44..588e4e75c 100644 --- a/init/init.c +++ b/init/init.c @@ -1160,7 +1160,7 @@ extern int init_main(int argc, char **argv) /* Wait for a child process to exit */ wpid = wait(&status); - while (init_action_list && wpid > 0) { + while (wpid > 0) { /* Find out who died and clean up their corpse */ for (a = init_action_list; a; a = a->next) { if (a->pid == wpid) {