> OTOH, simply calling httpd from the command line (or exec'ing it from > a shell script) will usually mean that the process is the leader of a > new process group, meaning setsid() will fail.
I had not considered that mode of use - should we allow for that ? It
would propably make sense - seems useful to me.
In that case I'd suggest we do
if (setsid() fails)
always log error
exit(1) unless no_detach.
Dw
