Don't report available if shutting down.

This commit is contained in:
JoelKatz
2013-05-29 17:16:54 -07:00
parent a0b6584c9a
commit dc11ecedd8

View File

@@ -518,6 +518,12 @@ bool serverOkay(std::string& reason)
return false;
}
if (theApp->isShutdown())
{
reason = "Server is shutting down";
return false;
}
if (theApp->getOPs().isNeedNetworkLedger())
{
reason = "Not synchronized with network yet";