Print the error message if read of local config fails.

parent 0f391387
...@@ -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