Commit 1ae999b0 authored by unknown's avatar unknown

Print the error message if read of local config fails.


ndb/src/mgmsrv/main.cpp:
  Print error if read of local config file fails.
parent de677cf8
...@@ -346,8 +346,10 @@ static bool ...@@ -346,8 +346,10 @@ static bool
readLocalConfig(){ readLocalConfig(){
// Read local config file // Read local config file
LocalConfig lc; LocalConfig lc;
if(!lc.init(glob.local_config_filename)) if(!lc.init(glob.local_config_filename)){
lc.printError();
return false; return false;
}
glob.localNodeId = lc._ownNodeId; glob.localNodeId = lc._ownNodeId;
return true; return true;
......
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