You need to sign in or sign up before continuing.
Commit 5a63d1d5 authored by Max Kellermann's avatar Max Kellermann

LogInit: use ConfigParam::GetPath()

parent 6d409d27
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment