From 3bc60f56defbc6efbf01d1c1670d0dc1ff3c4763 Mon Sep 17 00:00:00 2001 From: Master Date: Sat, 20 Jun 2020 22:57:30 -0400 Subject: [PATCH] minor repair of usage of env vars file --- src/loaders/abstract/Conf.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/loaders/abstract/Conf.cpp b/src/loaders/abstract/Conf.cpp index 2a70f7a..3da0c02 100644 --- a/src/loaders/abstract/Conf.cpp +++ b/src/loaders/abstract/Conf.cpp @@ -124,9 +124,9 @@ Conf::Conf( std::string filename, int LOG_LEVEL ): JSON_Loader( LOG_LEVEL ), slo this->env_vars_file_literal = this->execution_context_literal + "/" + this->env_vars_file.asString(); - if ( exists( this->env_vars_file_literal ) ) + if ( exists( this->get_env_vars_file() ) ) { - this->slog.log( E_DEBUG, "Environment variables file exists: '" + this->env_vars_file_literal + "'." ); + this->slog.log( E_DEBUG, "Environment variables file exists: '" + this->get_env_vars_file() + "'." ); } else { this->slog.log( E_FATAL, "Variables file does not exist: '" + this->env_vars_file_literal + "'."); throw ConfigLoadException( "env_vars_file points to an incorrect path." );