From: Miroslav Lichvar Date: Thu, 11 Aug 2011 12:15:15 +0000 (+0200) Subject: Fix creating logdir X-Git-Tag: 1.27-pre1~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=411f4da340d55e3b71795d4e93e5697fdb71907a;p=thirdparty%2Fchrony.git Fix creating logdir --- diff --git a/logging.c b/logging.c index 282d86ee..63424218 100644 --- a/logging.c +++ b/logging.c @@ -282,14 +282,10 @@ LOG_CreateLogFileDir(void) { const char *logdir; - if (n_filelogs <= 0) - return; - logdir = CNF_GetLogDir(); if (!mkdir_and_parents(logdir)) { LOG(LOGS_ERR, LOGF_Logging, "Could not create directory %s", logdir); - n_filelogs = 0; } }