diff options
author | Thomas Adam <thomas@xteddy.org> | 2021-10-25 00:01:11 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2021-10-25 00:01:11 +0100 |
commit | 619d934d7b64ec86dcc08f182c390273d1604e06 (patch) | |
tree | 93f17c2ec8c96536ac096254a27c53f83485535a /job.c | |
parent | 5071b82c77639344db8f91a9ad5b040be796d953 (diff) | |
parent | 9b4148b12ca631b9cb8f48a03adb1fad146ee53d (diff) |
Merge branch 'obsd-master' into master
Diffstat (limited to 'job.c')
-rw-r--r-- | job.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -140,7 +140,7 @@ job_run(const char *cmd, int argc, char **argv, struct environ *e, struct sessio close(out[1]); close(out[0]); - nullfd = open(_PATH_DEVNULL, O_RDWR, 0); + nullfd = open(_PATH_DEVNULL, O_RDWR); if (nullfd == -1) fatal("open failed"); if (dup2(nullfd, STDERR_FILENO) == -1) |