Merge pull request #1628

66665003 Clear feedback to user when daemon has stopped successfully (NanoAkron)
This commit is contained in:
Riccardo Spagni 2017-02-02 18:44:41 +02:00
commit 10bf54bfc9
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

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!");
} }