Do not leak a file descriptor when opening nohup.out. Make sure
authorbluhm <bluhm@openbsd.org>
Fri, 14 Sep 2018 18:17:46 +0000 (18:17 +0000)
committerbluhm <bluhm@openbsd.org>
Fri, 14 Sep 2018 18:17:46 +0000 (18:17 +0000)
commit3b521a6ec66f2a4de4e5b2e6eefba3e9b7a9da9d
tree29d2e0e125e94c572845a9515bd505fa1390f79c
parent965127f80578c0400be53e4188190c636e97095a
Do not leak a file descriptor when opening nohup.out.  Make sure
that stdout and stderr are not closed.
from Nan Xiao
usr.bin/nohup/nohup.c