aboutsummaryrefslogtreecommitdiff
path: root/src/lib9p/_post.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib9p/_post.c')
-rw-r--r--src/lib9p/_post.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib9p/_post.c b/src/lib9p/_post.c
index e8313be1..4420c2d7 100644
--- a/src/lib9p/_post.c
+++ b/src/lib9p/_post.c
@@ -33,8 +33,8 @@ _post2(void *v)
Srv *s;
s = v;
- rfork(RFNOTEG);
if(!s->leavefdsopen){
+ rfork(RFNOTEG);
rendezvous((ulong)s, 0);
close(s->srvfd);
}