ptrap: fix /env/status always being set on main process exit
This commit is contained in:
parent
be876a06ac
commit
77b819d585
|
@ -372,4 +372,6 @@ threadmain(int argc, char **argv)
|
||||||
filters = f;
|
filters = f;
|
||||||
}
|
}
|
||||||
threadpostmountsrv(&ptrapsrv, nil, "/mnt/plumb", MREPL | MCREATE);
|
threadpostmountsrv(&ptrapsrv, nil, "/mnt/plumb", MREPL | MCREATE);
|
||||||
|
|
||||||
|
threadexits(nil);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue