no need for LOG_PERROR if we're about to daemon()ize (and close
stderr in the process)
This commit is contained in:
parent
263cb744f8
commit
43b126d3f1
|
@ -179,7 +179,7 @@ int main(int argc, char **argv)
|
||||||
signal(SIGPIPE, sig_handler);
|
signal(SIGPIPE, sig_handler);
|
||||||
|
|
||||||
if (daemonize)
|
if (daemonize)
|
||||||
openlog("altqd", LOG_PID | LOG_PERROR, LOG_DAEMON);
|
openlog("altqd", LOG_PID, LOG_DAEMON);
|
||||||
|
|
||||||
if (qcmd_init() != 0) {
|
if (qcmd_init() != 0) {
|
||||||
if (daemonize)
|
if (daemonize)
|
||||||
|
|
Loading…
Reference in New Issue