This commit is contained in:
jl777
2016-11-15 11:20:45 -03:00
parent ce906ce757
commit e80de3b274

View File

@@ -253,12 +253,11 @@ Value help(const Array& params, bool fHelp)
Value stop(const Array& params, bool fHelp) Value stop(const Array& params, bool fHelp)
{ {
extern char ASSETCHAINS_SYMBOL[16];
// Accept the deprecated and ignored 'detach' boolean argument // Accept the deprecated and ignored 'detach' boolean argument
if (fHelp || params.size() > 1) if (fHelp || params.size() > 1)
throw runtime_error( throw runtime_error(
"stop\n" "stop\n"
"\nStop Komodo %s server.",ASSETCHAINS_SYMBOL); "\nStop Komodo server.");
// Shutdown will take long enough that the response should get back // Shutdown will take long enough that the response should get back
StartShutdown(); StartShutdown();
return "Komodo server stopping"; return "Komodo server stopping";