~singpolyma/biboumi

085a48ea48b9fcb2188b645d2a373d97b8dab9aa — louiz’ 8 years ago cf9104e
Do not use the logger before the configuration has been loaded first
1 files changed, 1 insertions(+), 1 deletions(-)

M src/main.cpp
M src/main.cpp => src/main.cpp +1 -1
@@ 50,7 50,7 @@ static void sigusr_handler(int, siginfo_t*, void*)
int main(int ac, char** av)
{
  const std::string conf_filename = ac > 1 ? av[1] : xdg_config_path("biboumi.cfg");
  log_info("Using configuration file: ", conf_filename);
  std::cout << "Using configuration file: " << conf_filename << std::endl;

  if (!Config::read_conf(conf_filename))
    return config_help("");