diff options
author | fluffypony <ric@spagni.net> | 2014-06-04 22:53:54 +0200 |
---|---|---|
committer | fluffypony <ric@spagni.net> | 2014-06-04 22:53:54 +0200 |
commit | e0685d412a931520766ce4e1678760c1fb06a1e2 (patch) | |
tree | e4f51c858889f162b35e5768b40d055b16d24762 /contrib | |
parent | Merge pull request #23 from paybee/master (diff) | |
download | monero-e0685d412a931520766ce4e1678760c1fb06a1e2.tar.xz |
don't fall apart if you can't get_line
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/epee/include/console_handler.h | 5 |
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); |