Fixed a couple of bugs in dirplex.
[ashd.git] / lib / proc.c
index 957cfce..f4611d5 100644 (file)
@@ -163,6 +163,5 @@ pid_t stdforkserve(char **argv, struct hthead *req, int fd)
        flog(LOG_WARNING, "could not exec child program %s: %s", argv[0], strerror(errno));
        exit(127);
     }
-    close(fd);
     return(pid);
 }