log: remove a (now) useless fprintf in setup_logging.
Now that there is a default value for LogFile, the case that neither the log file name nor syslog is configured can not happen any more. Michael
This commit is contained in:
parent
74b0b63da8
commit
9fec507daf
@ -264,10 +264,6 @@ int setup_logging (void)
|
|||||||
openlog ("tinyproxy", LOG_PID, LOG_DAEMON);
|
openlog ("tinyproxy", LOG_PID, LOG_DAEMON);
|
||||||
else
|
else
|
||||||
openlog ("tinyproxy", LOG_PID, LOG_USER);
|
openlog ("tinyproxy", LOG_PID, LOG_USER);
|
||||||
} else {
|
|
||||||
fprintf (stderr, "%s: Either define a logfile or "
|
|
||||||
"enable syslog logging.\n", PACKAGE);
|
|
||||||
goto done;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
logging_initialized = TRUE;
|
logging_initialized = TRUE;
|
||||||
|
Loading…
Reference in New Issue
Block a user