summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--eurephiadm/client_context.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/eurephiadm/client_context.c b/eurephiadm/client_context.c
index 0f86bd3..2907ce5 100644
--- a/eurephiadm/client_context.c
+++ b/eurephiadm/client_context.c
@@ -60,7 +60,7 @@ eurephiaCTX *eurephiaCTX_init(FILE *log, const int loglevel, eurephiaVALUES *cfg
free_nullsafe(ctx);
return NULL;
}
- } else if( logfile == NULL ) {
+ } else {
// If log file is not set in config, use input log parameter. But if
// no log file is defined even here, use stderr. If no logging is wanted, it
// must be defined as none: in the config file.