X-Git-Url: https://git.distorted.org.uk/~mdw/secnet/blobdiff_plain/23ca153790f68d03191eaa9ac306597da596b4ed..94a1d5fce6a68fce8216d4b45ef6148d353c2c3a:/polypath.c diff --git a/polypath.c b/polypath.c index 770ffc2..58a89ee 100644 --- a/polypath.c +++ b/polypath.c @@ -475,6 +475,7 @@ static void start_subproc(struct polypath *st, void (*make_fdpair)(int[2]), pid_t pid=fork(); if (!pid) { afterfork(); + close(pfds[0]); child(st,pfds[1]); abort(); }