aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2015-10-26 17:54:21 +0200
committerRiccardo Spagni <ric@spagni.net>2015-10-26 17:54:25 +0200
commit4fa8f7402408049c3dbfd9cea98bab8ce16fabaf (patch)
tree1db2fb1704044d2f4ba2707cca6e594fa12a16e4
parentMerge pull request #438 (diff)
parentconsole_handler: silence spurious message when exiting daemon (diff)
downloadmonero-4fa8f7402408049c3dbfd9cea98bab8ce16fabaf.tar.xz
Merge pull request #440
1980d8e console_handler: silence spurious message when exiting daemon (moneromooo-monero)
-rw-r--r--contrib/epee/include/console_handler.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/epee/include/console_handler.h b/contrib/epee/include/console_handler.h
index 5dd3eaba9..0eff095e1 100644
--- a/contrib/epee/include/console_handler.h
+++ b/contrib/epee/include/console_handler.h
@@ -275,7 +275,7 @@ namespace epee
std::string command;
bool get_line_ret = m_stdin_reader.get_line(command);
- if (m_stdin_reader.eos())
+ if (!m_running || m_stdin_reader.eos())
{
break;
}