From 5a63d1d5a4128d9fc41bcf2890d503532705c5b3 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 2 Nov 2016 10:07:50 +0100 Subject: [PATCH] LogInit: use ConfigParam::GetPath() --- src/LogInit.cxx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/LogInit.cxx b/src/LogInit.cxx index 5c8ae709b..d8e57381c 100644 --- a/src/LogInit.cxx +++ b/src/LogInit.cxx @@ -151,9 +151,8 @@ log_init(bool verbose, bool use_stdout, Error &error) return true; #endif } else { - out_path = config_get_path(ConfigOption::LOG_FILE, error); - return !out_path.IsNull() && - log_init_file(param->line, error); + out_path = param->GetPath(); + return log_init_file(param->line, error); } } #endif