From bf6bfd538920fd454d577b5b41cefb3b04b9a4ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Canna=C3=B2?= Date: Mon, 10 Aug 2015 21:12:07 +0000 Subject: [PATCH] Modified a warning to not list any specific config file if missing --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index a82d02ad6..df11f4af1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -232,7 +232,7 @@ int main(int argc, const char * argv[]) { } else { // config file not readable GloVars.datadir=strdup(t); - std::cerr << "[Warning]: Cannot open config file " << GloVars.config_file << ". Using default datadir in current working directory " << GloVars.datadir << endl; + std::cerr << "[Warning]: Cannot open any deault config file . Using default datadir in current working directory " << GloVars.datadir << endl; } } else { GloVars.datadir=GloVars.__cmd_proxysql_datadir;