diff options
Diffstat (limited to 'proc')
-rw-r--r-- | proc/pgrp.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/proc/pgrp.c b/proc/pgrp.c index ec9cbbf9..f33c7037 100644 --- a/proc/pgrp.c +++ b/proc/pgrp.c @@ -307,6 +307,9 @@ S_proc_setpgrp (struct proc *callerp, p->p_pgrp = pg ? pg : new_pgrp (pgid, p->p_pgrp->pg_session); join_pgrp (p); } + else + nowait_proc_newids (p->p_msgport, p->p_task, p->p_parent->p_pid, + pg->pg_pgid, !pg->pg_orphcnt); return 0; } |