summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorEric Andersen2004-04-12 19:21:54 +0000
committerEric Andersen2004-04-12 19:21:54 +0000
commit87812dc3b07eb4c1f69432133883d2dd5b771705 (patch)
tree3434fbfff048fac8b643b7a7d4a6c64edda602ec /init
parent4e19fa9b644065c112da3472ab6ce3a938cc1ac8 (diff)
downloadbusybox-87812dc3b07eb4c1f69432133883d2dd5b771705.zip
busybox-87812dc3b07eb4c1f69432133883d2dd5b771705.tar.gz
Silly me
Diffstat (limited to 'init')
-rw-r--r--init/init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/init.c b/init/init.c
index fd1443e..588e4e7 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) {