Make RPC startup results obey quiet.

This commit is contained in:
Arthur Britto
2013-01-21 16:46:45 -08:00
parent 632a387eba
commit a2b890506a

View File

@@ -41,9 +41,10 @@ void startServer()
RPCHandler rhHandler(&theApp->getOPs());
std::cerr << "Result: "
<< rhHandler.doCommand(jvCommand, RPCHandler::ADMIN)
<< std::endl;
Json::Value jvResult = rhHandler.doCommand(jvCommand, RPCHandler::ADMIN);
if (!theConfig.QUIET)
std::cerr << "Result: " << jvResult << std::endl;
}
}