debug fix

This commit is contained in:
Olaf Rempel 2006-06-22 20:52:54 +02:00
parent 0c45ceb5fd
commit d4f0db33b2
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ int main(int argc, char *argv[])
/* check logfile */
char *logfile = config_get_string("global", "logfile", DEFAULT_LOGFILE);
if (logfile != NULL && debug != 0) {
if (logfile != NULL && debug == 0) {
/* start logging */
if (!log_init(logfile))
exit(-1);