summaryrefslogtreecommitdiff
path: root/proc/mgt.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-06-17 17:00:13 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-06-17 17:00:13 +0000
commitdd105899e3f76054d89faf025c7e2db64a75d43b (patch)
tree5fe9eefb70d0c6bcd161cceb677f8c1b334ac9c6 /proc/mgt.c
parent16fc915bd905d4eaecb4e131d265a5446eff9899 (diff)
Formerly mgt.c.~11~
Diffstat (limited to 'proc/mgt.c')
-rw-r--r--proc/mgt.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/proc/mgt.c b/proc/mgt.c
index 728233c1..138c4cce 100644
--- a/proc/mgt.c
+++ b/proc/mgt.c
@@ -176,13 +176,6 @@ S_proc_child (struct proc *parentp,
childp->p_pgrp = parentp->p_pgrp;
join_pgrp (childp);
- if (childp->p_argv == 0 && childp->p_envp == 0)
- {
- /* Inherit the argv and envp values from the parent. */
- childp->p_argv = parentp->p_argv;
- childp->p_envp = parentp->p_envp;
- }
-
childp->p_parentset = 1;
if (childp->p_msgport)
nowait_proc_newids (childp->p_msgport, childp->p_task,