bmc / daemonize

Command line utility to run a program as a Unix daemon
http://software.clapper.org/daemonize/
Other
558 stars 97 forks source link

Open null_fd as O_RDWR #36

Open random-luser opened 1 year ago

random-luser commented 1 year ago

Since null_fd is used as stdin (not only stdout/stderr), it must be opened as O_RDWR, not O_WRONLY as today.