Clear feedback to user when daemon has stopped successfully

This commit is contained in:
NanoAkron 2017-01-25 00:37:23 +00:00
parent ad91ffe7e5
commit 66665003bd
No known key found for this signature in database
GPG Key ID: 346A337AA2EA8B57

View File

@ -77,6 +77,7 @@ public:
m_protocol.deinit(); m_protocol.deinit();
m_protocol.set_p2p_endpoint(nullptr); m_protocol.set_p2p_endpoint(nullptr);
MGINFO("Cryptonote protocol stopped successfully"); MGINFO("Cryptonote protocol stopped successfully");
tools::success_msg_writer() << "Daemon stopped successfully";
} catch (...) { } catch (...) {
LOG_ERROR("Failed to stop cryptonote protocol!"); LOG_ERROR("Failed to stop cryptonote protocol!");
} }