Print the error message if read of local config fails.

ndb/src/mgmsrv/main.cpp:
  Print error if read of local config file fails.
This commit is contained in:
unknown 2004-09-15 16:01:20 +02:00
parent de677cf8c3
commit 1ae999b0ae

View file

@ -346,8 +346,10 @@ static bool
readLocalConfig(){
// Read local config file
LocalConfig lc;
if(!lc.init(glob.local_config_filename))
if(!lc.init(glob.local_config_filename)){
lc.printError();
return false;
}
glob.localNodeId = lc._ownNodeId;
return true;