debug fix
This commit is contained in:
parent
0c45ceb5fd
commit
d4f0db33b2
@ -80,7 +80,7 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
/* check logfile */
|
/* check logfile */
|
||||||
char *logfile = config_get_string("global", "logfile", DEFAULT_LOGFILE);
|
char *logfile = config_get_string("global", "logfile", DEFAULT_LOGFILE);
|
||||||
if (logfile != NULL && debug != 0) {
|
if (logfile != NULL && debug == 0) {
|
||||||
/* start logging */
|
/* start logging */
|
||||||
if (!log_init(logfile))
|
if (!log_init(logfile))
|
||||||
exit(-1);
|
exit(-1);
|
||||||
|
Loading…
Reference in New Issue
Block a user