summaryrefslogtreecommitdiff
path: root/Src/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/exec.c')
-rw-r--r--Src/exec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/Src/exec.c b/Src/exec.c
index c31089bb5..f2911807c 100644
--- a/Src/exec.c
+++ b/Src/exec.c
@@ -4883,13 +4883,9 @@ getoutputfile(char *cmd, char **eptr)
child_unblock();
return nam;
} else if (pid) {
- int os;
-
close(fd);
- os = jobtab[thisjob].stat;
waitforpid(pid, 0);
cmdoutval = 0;
- jobtab[thisjob].stat = os;
return nam;
}