Don't destroy the slave /dev entry until someone figures out why devfs seems
to behave badly when we do so.
This commit is contained in:
parent
fa918e1ef7
commit
56db7f4cc6
@ -180,7 +180,7 @@ static void
|
|||||||
pty_maybe_destroy_slave(struct ptsc *pt)
|
pty_maybe_destroy_slave(struct ptsc *pt)
|
||||||
{
|
{
|
||||||
|
|
||||||
if (pt->pt_devc_open == 0 && pt->pt_devs_open == 0)
|
if (0 && pt->pt_devc_open == 0 && pt->pt_devs_open == 0)
|
||||||
pty_destroy_slave(pt);
|
pty_destroy_slave(pt);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user