summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/init.c b/init/init.c
index a3558734..631b90ab 100644
--- a/init/init.c
+++ b/init/init.c
@@ -321,6 +321,7 @@ run_for_real (char *filename, char *args, int arglen)
task_create (mach_task_self (), 0, &task);
proc_child (procserver, task);
proc_task2proc (procserver, task, &default_ports[INIT_PORT_PROC]);
+ proc_setsid (default_ports[INIT_PORT_PROC]);
printf ("Pausing for %s\n", filename);
getchar ();
progname = strrchr (filename, '/');