mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-08-15 01:03:23 +00:00
console_handler: add a global log when exiting via EOF
It's a common confusion point for users which run monerod without stdin and with --detach
This commit is contained in:
parent
5c85da5a73
commit
d3cda5ad39
1 changed files with 4 additions and 1 deletions
|
@ -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…
Reference in a new issue