X-Git-Url: http://www.dolda2000.com/gitweb/?a=blobdiff_plain;f=lib%2Fproc.c;h=f4611d516b4adf6c5985570acb3f7334f184a906;hb=f812ea037b5c693977e83ace9ed7ac2515a4a6d0;hp=957cfce7becb6d100b42bc807df759db10fda925;hpb=992ce9ef8adb25fdcc47264187450a3edb287167;p=ashd.git diff --git a/lib/proc.c b/lib/proc.c index 957cfce..f4611d5 100644 --- a/lib/proc.c +++ b/lib/proc.c @@ -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); }