LogInit: use ConfigParam::GetPath()

This commit is contained in:
Max Kellermann 2016-11-02 10:07:50 +01:00
parent 6d409d27ca
commit 5a63d1d5a4

View File

@ -151,9 +151,8 @@ log_init(bool verbose, bool use_stdout, Error &error)
return true; return true;
#endif #endif
} else { } else {
out_path = config_get_path(ConfigOption::LOG_FILE, error); out_path = param->GetPath();
return !out_path.IsNull() && return log_init_file(param->line, error);
log_init_file(param->line, error);
} }
} }
#endif #endif