This commit is contained in:
jl777
2016-11-15 11:17:55 -03:00
parent 919b3cff75
commit ce906ce757
4 changed files with 10 additions and 10 deletions

View File

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