Merge pull request #70 from cogutvalera/valera_issue_1193

Capture Ctrl+C in cli_wallet when not in daemon mode #1193
This commit is contained in:
Abit 2018-07-30 15:00:05 +00:00 committed by GitHub
commit 1a457caf33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,6 +107,11 @@ void cli::run()
catch ( const fc::exception& e )
{
std::cout << e.to_detail_string() << "\n";
if (e.code() == fc::canceled_exception_code)
{
break;
}
}
}
}