devproc: can't wait for up to stop
This commit is contained in:
parent
ecd6dddf86
commit
b08218529d
|
@ -1325,6 +1325,8 @@ procstopwait(Proc *p, int ctl)
|
|||
error(Eprocdied);
|
||||
if(ctl != 0)
|
||||
p->procctl = ctl;
|
||||
if(p == up)
|
||||
return;
|
||||
p->pdbg = up;
|
||||
qunlock(&p->debug);
|
||||
up->psstate = "Stopwait";
|
||||
|
|
Loading…
Reference in New Issue