ptrap: fix /env/status always being set on main process exit

front
BurnZeZ 2020-09-16 20:45:49 +00:00
parent be876a06ac
commit 77b819d585
1 changed files with 2 additions and 0 deletions

View File

@ -372,4 +372,6 @@ threadmain(int argc, char **argv)
filters = f;
}
threadpostmountsrv(&ptrapsrv, nil, "/mnt/plumb", MREPL | MCREATE);
threadexits(nil);
}