test
This commit is contained in:
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user