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:
commit
1a457caf33
1 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue