mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2025-01-26 11:12:58 -03:00
don't fall apart if you can't get_line
This commit is contained in:
parent
4492317603
commit
e0685d412a
1 changed files with 2 additions and 3 deletions
|
@ -257,9 +257,8 @@ namespace epee
|
||||||
std::string command;
|
std::string command;
|
||||||
if(!m_stdin_reader.get_line(command))
|
if(!m_stdin_reader.get_line(command))
|
||||||
{
|
{
|
||||||
LOG_PRINT("Failed to read line. Stopping...", LOG_LEVEL_0);
|
LOG_PRINT("Failed to read line. Ignoring and continuing to run, exiting daemon may require a SIGTERM kill.", LOG_LEVEL_0);
|
||||||
continue_handle = false;
|
continue;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
string_tools::trim(command);
|
string_tools::trim(command);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue