Merge pull request #441

9556017 console_handler: silence spurious message when exiting daemon (moneromooo-monero)
This commit is contained in:
Riccardo Spagni 2015-10-26 18:00:24 +02:00
commit d76ce2ba0c
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;
}