mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 18:20:07 +01:00
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:
parent
de677cf8c3
commit
1ae999b0ae
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue