Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
main: close the tmp fd we used to duplicate /dev/null for stdin
We didn't want to leak the initial startup stdin -- which is the tty where X started -- to all child procs, so we opened /dev/null and duplicated it onto fd 1. but then we forgot to close the temporary fd so it leaks to child procs.
- Loading branch information