aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Nottingham <notting@redhat.com>1999-09-20 20:49:11 +0000
committerBill Nottingham <notting@redhat.com>1999-09-20 20:49:11 +0000
commit71f920146b0c78171e1605af433ebd6da821cd56 (patch)
tree0f557535f11ddb76512e76a5f27c4bab91e1ccef
parent359864a2155d176583b9c32755a6e54c314a11d2 (diff)
downloadinitscripts-71f920146b0c78171e1605af433ebd6da821cd56.tar
initscripts-71f920146b0c78171e1605af433ebd6da821cd56.tar.gz
initscripts-71f920146b0c78171e1605af433ebd6da821cd56.tar.bz2
initscripts-71f920146b0c78171e1605af433ebd6da821cd56.tar.xz
initscripts-71f920146b0c78171e1605af433ebd6da821cd56.zip
don't dup stdin.
-rw-r--r--src/process.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index ef7d9e26..76087a9a 100644
--- a/src/process.c
+++ b/src/process.c
@@ -31,7 +31,6 @@ int forkCommand(char **args, int *outfd, int *errfd, int *cmdfd, int quiet) {
return -1;
}
- fdin=dup(0);
if (outfd) {
fdout = outpipe[1];
*outfd = outpipe[0];