mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 14:35:52 +00:00
Make RPC startup results obey quiet.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user