diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-06-03 22:42:30 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-06-03 22:43:35 +0100 |
commit | 35b160edea51492c9f98b59f7e175490c7cc2590 (patch) | |
tree | d24f6e7a630e454e34a7f91ad06a803495d48757 /src/daemon/command_server.h | |
parent | Merge pull request #306 (diff) | |
download | monero-35b160edea51492c9f98b59f7e175490c7cc2590.tar.xz |
fix ^D exit for bitmonerod
It uses the async console handler differently than simplewallet,
and wasn't running the same exit code, causing it to never actually
exit after breaking out of the console entry loop.
Diffstat (limited to 'src/daemon/command_server.h')
-rw-r--r-- | src/daemon/command_server.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/daemon/command_server.h b/src/daemon/command_server.h index aa8e0770e..5df457288 100644 --- a/src/daemon/command_server.h +++ b/src/daemon/command_server.h @@ -62,7 +62,7 @@ public: bool process_command_vec(const std::vector<std::string>& cmd); - bool start_handling(); + bool start_handling(std::function<void(void)> exit_handler = NULL); void stop_handling(); |