mirror of
https://github.com/monero-project/monero.git
synced 2025-12-09 00:21:28 +09:00
Merge pull request #4670
fea60d6a console_handler: add a global log when exiting via EOF (moneromooo-monero)
This commit is contained in:
commit
4ad6b66283
@ -352,8 +352,11 @@ eof:
|
|||||||
|
|
||||||
std::string command;
|
std::string command;
|
||||||
bool get_line_ret = m_stdin_reader.get_line(command);
|
bool get_line_ret = m_stdin_reader.get_line(command);
|
||||||
if (!m_running || m_stdin_reader.eos())
|
if (!m_running)
|
||||||
|
break;
|
||||||
|
if (m_stdin_reader.eos())
|
||||||
{
|
{
|
||||||
|
MGINFO("EOF on stdin, exiting");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (!get_line_ret)
|
if (!get_line_ret)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user