diff options
Diffstat (limited to 'nq.c')
-rw-r--r-- | nq.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nq.c b/nq.c index 7400933..69d478c 100644 --- a/nq.c +++ b/nq.c @@ -107,6 +107,8 @@ main(int argc, char *argv[]) /* output expected lockfile name. */ sprintf(lockfile, ",%011lx.%d", ms, child); dprintf(1, "%s\n", lockfile); + close(0); + close(1); /* signal parent to exit. */ close(pipefd[1]); |