summaryrefslogtreecommitdiff
path: root/init/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/init.c')
-rw-r--r--init/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/init/init.c b/init/init.c
index cda6fde9..c6566ea8 100644
--- a/init/init.c
+++ b/init/init.c
@@ -421,6 +421,10 @@ launch_system (void)
device_master = 0;
#endif
+ /* Declare that the filesystem and auth are our children. */
+ proc_child (procserver, fstask);
+ proc_child (procserver, authtask);
+
proc_task2proc (procserver, authtask, &authproc);
startup_authinit_reply (authreply, authreplytype, 0, authproc,
MACH_MSG_TYPE_MOVE_SEND);
@@ -446,10 +450,6 @@ launch_system (void)
authserver))
perror ("fsys_init");
- /* Declare that the filesystem and auth are our children. */
- proc_child (procserver, fstask);
- proc_child (procserver, authtask);
-
run_for_real ("/bin/sh");
printf ("Init has completed.\n");
fflush (stdout);