diff options
Diffstat (limited to 'batchd.c')
-rw-r--r-- | batchd.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -33,7 +33,7 @@ run_job(char *queuedir, int fd) return -1; case 0: asprintf(&run, "%s/run", queuedir); - dup2(fd, STDIN_FILENO); + dup2(fd, 3); close(fd); execl(run, "run", (char*)NULL); perror("execle()"); |