summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/main.c b/main.c
index ec92f01..4065265 100644
--- a/main.c
+++ b/main.c
@@ -1700,12 +1700,7 @@ int main (int argc, char ** argv)
fflush (stdout);
fflush (stderr);
- /* Close the jobserver pipes if we opened any. */
- if (job_fds[0] >= 0)
- {
- close (job_fds[0]);
- close (job_fds[1]);
- }
+ /* Close the dup'd jobserver pipe if we opened one. */
if (job_rfd >= 0)
close (job_rfd);