no need for LOG_PERROR if we're about to daemon()ize (and close

stderr in the process)
This commit is contained in:
lukem 2001-01-10 23:48:14 +00:00
parent 263cb744f8
commit 43b126d3f1
1 changed files with 1 additions and 1 deletions

View File

@ -179,7 +179,7 @@ int main(int argc, char **argv)
signal(SIGPIPE, sig_handler);
if (daemonize)
openlog("altqd", LOG_PID | LOG_PERROR, LOG_DAEMON);
openlog("altqd", LOG_PID, LOG_DAEMON);
if (qcmd_init() != 0) {
if (daemonize)