aboutsummaryrefslogtreecommitdiff
path: root/contrib/epee/include/console_handler.h
diff options
context:
space:
mode:
authorfluffypony <ric@spagni.net>2014-06-04 22:53:54 +0200
committerfluffypony <ric@spagni.net>2014-06-04 22:53:54 +0200
commite0685d412a931520766ce4e1678760c1fb06a1e2 (patch)
treee4f51c858889f162b35e5768b40d055b16d24762 /contrib/epee/include/console_handler.h
parentMerge pull request #23 from paybee/master (diff)
downloadmonero-e0685d412a931520766ce4e1678760c1fb06a1e2.tar.xz
don't fall apart if you can't get_line
Diffstat (limited to 'contrib/epee/include/console_handler.h')
-rw-r--r--contrib/epee/include/console_handler.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h
index fcab35aaa..23184eea6 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);