From 35b160edea51492c9f98b59f7e175490c7cc2590 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Wed, 3 Jun 2015 22:42:30 +0100 Subject: 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. --- src/daemon/command_server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/daemon/command_server.h') 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& cmd); - bool start_handling(); + bool start_handling(std::function exit_handler = NULL); void stop_handling(); -- cgit v1.2.3