fixed RFNOMNT

This commit is contained in:
aiju 2012-08-27 17:50:48 +02:00
parent 40d5dce459
commit 5ba4ccd30e

View file

@ -140,7 +140,7 @@ sysrfork(ulong *arg)
incref(p->pgrp);
}
if(flag & RFNOMNT)
up->pgrp->noattach = 1;
p->pgrp->noattach = 1;
if(flag & RFREND)
p->rgrp = newrgrp();