diff options
-rw-r--r-- | job.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -60,6 +60,8 @@ job_run(const char *cmd, struct session *s, switch (pid = fork()) { case -1: environ_free(&env); + close(out[0]); + close(out[1]); return (NULL); case 0: /* child */ clear_signals(1); |