From e0685d412a931520766ce4e1678760c1fb06a1e2 Mon Sep 17 00:00:00 2001 From: fluffypony Date: Wed, 4 Jun 2014 22:53:54 +0200 Subject: [PATCH] don't fall apart if you can't get_line --- contrib/epee/include/console_handler.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h index fcab35aa..23184eea 100644 --- a/contrib/epee/include/console_handler.h +++ b/contrib/epee/include/console_handler.h @@ -257,9 +257,8 @@ namespace epee std::string command; if(!m_stdin_reader.get_line(command)) { - LOG_PRINT("Failed to read line. Stopping...", LOG_LEVEL_0); - continue_handle = false; - break; + LOG_PRINT("Failed to read line. Ignoring and continuing to run, exiting daemon may require a SIGTERM kill.", LOG_LEVEL_0); + continue; } string_tools::trim(command);