summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--initd/init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/initd/init.c b/initd/init.c
index d458f29..7621b30 100644
--- a/initd/init.c
+++ b/initd/init.c
@@ -107,6 +107,8 @@ main(int argc, char **argv)
}
if (pid <= 0)
ERROR("Failed to start kmodloader instance\n");
+ else
+ waitpid(pid, NULL, 0);
uloop_init();
preinit();
uloop_run();