diff options
-rw-r--r-- | redo.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/redo.c b/redo.c index d5ae55c..5c5ff93 100644 --- a/redo.c +++ b/redo.c @@ -556,6 +556,7 @@ new_waitjob(int fd, int implicit) job->pid = pid; job->implicit = implicit; + close(fd); insert_job(job); } @@ -615,6 +616,7 @@ run_script(char *target, int implicit) exit(111); } } + close(fd); dep_fd = mkstemp(temp_depfile); |