summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index 22678741..a2082b08 100644
--- a/init/init.c
+++ b/init/init.c
@@ -325,6 +325,9 @@ launch_system (void)
if (errno = fsys_init (bootport, fsproc, MACH_MSG_TYPE_MOVE_SEND,
authserver))
perror ("fsys_init");
+
+ /* Declare that the filesystem is our child. */
+ proc_child (procserver, fstask);
run_for_real ("/bin/sh");
printf ("Init has completed.\n");