diff options
-rw-r--r-- | contrib/epee/include/console_handler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h index 5dd3eaba9..0eff095e1 100644 --- a/contrib/epee/include/console_handler.h +++ b/contrib/epee/include/console_handler.h @@ -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; } |