Merge pull request #440

1980d8e console_handler: silence spurious message when exiting daemon (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2015-10-26 17:54:21 +02:00
commit 4fa8f74024
No known key found for this signature in database
GPG key ID: 55432DF31CCD4FCD

View file

@ -275,7 +275,7 @@ namespace epee
std::string command;
bool get_line_ret = m_stdin_reader.get_line(command);
if (m_stdin_reader.eos())
if (!m_running || m_stdin_reader.eos())
{
break;
}