Re: [ovs-dev] [PATCH 02/13] daemon-unix: With --monitor, only close standard fds if --detach also used.

2017-10-06 Thread Russell Bryant
On Fri, Oct 6, 2017 at 8:44 PM, Ben Pfaff wrote: > Daemons generally should close the standard fds because they don't want to > hold open an SSH session, etc. that is attached to a tty. But --monitor > without --detach does not daemonize, so do not close fds in that case. > >

[ovs-dev] [PATCH 02/13] daemon-unix: With --monitor, only close standard fds if --detach also used.

2017-10-06 Thread Ben Pfaff
Daemons generally should close the standard fds because they don't want to hold open an SSH session, etc. that is attached to a tty. But --monitor without --detach does not daemonize, so do not close fds in that case. Signed-off-by: Ben Pfaff --- lib/daemon-unix.c | 4 +++- 1