From 40d928e57c8cfe7cad898fe321f236696b2e8162 Mon Sep 17 00:00:00 2001 From: Valera Cogut Date: Mon, 30 Jul 2018 16:48:37 +0300 Subject: [PATCH] raise SIGINT instead of throwing exception in cli_wallet quit command --- src/rpc/cli.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/rpc/cli.cpp b/src/rpc/cli.cpp index 0021ada..add2f6a 100644 --- a/src/rpc/cli.cpp +++ b/src/rpc/cli.cpp @@ -107,11 +107,6 @@ void cli::run() catch ( const fc::exception& e ) { std::cout << e.to_detail_string() << "\n"; - - if (e.code() == fc::canceled_exception_code) - { - break; - } } } }