ref: 77b819d5853132be43639d1b2149caf5edacbba2
parent: be876a06ac0927faf9282e8847a87cef7c1a93be
author: BurnZeZ <devnull@localhost>
date: Wed Sep 16 16:45:49 EDT 2020
ptrap: fix /env/status always being set on main process exit
--- a/sys/src/cmd/ptrap.c
+++ b/sys/src/cmd/ptrap.c
@@ -372,4 +372,6 @@
filters = f;
}
threadpostmountsrv(&ptrapsrv, nil, "/mnt/plumb", MREPL | MCREATE);
+
+ threadexits(nil);
}