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

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;
}