SCCS-vsn: sbin/newfs/mkfs.c 6.15
-static char sccsid[] = "@(#)mkfs.c 6.14 (Berkeley) %G%";
+static char sccsid[] = "@(#)mkfs.c 6.15 (Berkeley) %G%";
#endif /* not lint */
#ifndef STANDALONE
#endif /* not lint */
#ifndef STANDALONE
pp->p_cpg = sblock.fs_cpg;
/*
* Notify parent process of success.
pp->p_cpg = sblock.fs_cpg;
/*
* Notify parent process of success.
+ * Dissociate from session and tty.
+ (void) setsid();
+ (void) close(0);
+ (void) close(1);
+ (void) close(2);
+ (void) chdir("/");
+ }