diff options
author | Riccardo Spagni <ric@spagni.net> | 2015-06-11 10:27:30 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2015-06-11 10:27:36 +0200 |
commit | f89cf1df87889d67dcd30c6e7ea954732e222f9c (patch) | |
tree | dfbd2824defe10755997e197c8c6866c92828837 /src/daemon/command_server.cpp | |
parent | Merge pull request #303 (diff) | |
parent | fix ^D exit for bitmonerod (diff) | |
download | monero-f89cf1df87889d67dcd30c6e7ea954732e222f9c.tar.xz |
Merge pull request #308
35b160e fix ^D exit for bitmonerod (moneromooo-monero)
Diffstat (limited to 'src/daemon/command_server.cpp')
-rw-r--r-- | src/daemon/command_server.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/command_server.cpp b/src/daemon/command_server.cpp index 5510ee594..65bceff75 100644 --- a/src/daemon/command_server.cpp +++ b/src/daemon/command_server.cpp @@ -196,11 +196,11 @@ bool t_command_server::process_command_vec(const std::vector<std::string>& cmd) return result; } -bool t_command_server::start_handling() +bool t_command_server::start_handling(std::function<void(void)> exit_handler) { if (m_is_rpc) return false; - m_command_lookup.start_handling("", get_commands_str()); + m_command_lookup.start_handling("", get_commands_str(), exit_handler); return true; } |