Silly me
authorEric Andersen <andersen@codepoet.org>
Mon, 12 Apr 2004 19:21:54 +0000 (19:21 -0000)
committerEric Andersen <andersen@codepoet.org>
Mon, 12 Apr 2004 19:21:54 +0000 (19:21 -0000)
init/init.c

index fd1443e4455e5bf6ae3844bacaa5eff89c34106e..588e4e75cd85b404928aba381de8f0da29b16993 100644 (file)
@@ -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) {