From 1ae999b0ae9aeebed5e1b78bdce7acf14ca30ad2 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 15 Sep 2004 16:01:20 +0200 Subject: [PATCH] Print the error message if read of local config fails. ndb/src/mgmsrv/main.cpp: Print error if read of local config file fails. --- ndb/src/mgmsrv/main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ndb/src/mgmsrv/main.cpp b/ndb/src/mgmsrv/main.cpp index cecf1c1e499..323a836cdd4 100644 --- a/ndb/src/mgmsrv/main.cpp +++ b/ndb/src/mgmsrv/main.cpp @@ -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;