Skip to content

Commit

Permalink
fix typo in ilog message: SIGTERM instead of SIGINT
Browse files Browse the repository at this point in the history
  • Loading branch information
cogutvalera committed Aug 10, 2018
1 parent 2f45952 commit ac3ff0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion programs/cli_wallet/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ int main( int argc, char** argv )
}, SIGINT);

fc::set_signal_handler([&wapi, &wallet_file](int signal) {
ilog( "Captured SIGINT not in daemon mode" );
ilog( "Captured SIGTERM not in daemon mode" );
wapi->save_wallet_file(wallet_file.generic_string());
std::terminate();
}, SIGTERM);
Expand Down

0 comments on commit ac3ff0a

Please sign in to comment.