beekeeper | export-keys-wallet return errorcode even if there is no error
Execution beekeeper with command line flag --export-keys-wallet
exits with errorcode 1, even if there is no problem during wallet dumping.
Example:
user@host 0 :/tmp/wk-temp
(default) $ /home/user/Work/blockchainwarez/hive/clive/hive/build/programs/beekeeper/beekeeper/beekeeper --data-dir /tmp/wk-temp --export-keys-wallet '["test_export_keys","PW5JSVoVwTNDKKBNYwmXkRHEcRfAXJBR7jYLVY3oPWXgNkW29Ny17"]'
357264ms json_rpc_plugin.cpp:238 initialize ] initializing JSON RPC plugin
357264ms json_rpc_plugin.cpp:200 add_api_method ] api_name: jsonrpc method_name: get_methods
357264ms json_rpc_plugin.cpp:200 add_api_method ] api_name: jsonrpc method_name: get_signature
357264ms webserver_plugin.cpp:587 plugin_initialize ] initializing webserver plugin
357264ms webserver_plugin.cpp:590 plugin_initialize ] configured with 32 thread pool size
357264ms webserver_plugin.cpp:593 plugin_initialize ] Compression in webserver is disabled
357264ms beekeeper_app_init.cpp:49 initialize_program_o ] initializing options
357267ms beekeeper_app_init.cpp:72 initialize_program_o ] Backtrace on segfault is enabled.
357267ms beekeeper_app.cpp:76 save_keys ] *****Saving keys into `test_export_keys.keys` file*****
357267ms beekeeper_app.cpp:78 save_keys ] Create a session
357268ms beekeeper_app.cpp:83 operator() ] Unlock the wallet
357268ms beekeeper_app.cpp:86 operator() ] Get keys
357268ms beekeeper_app.cpp:96 operator() ] Save keys into `test_export_keys.keys` file
357268ms beekeeper_app.cpp:103 operator() ] Lock the wallet
357268ms beekeeper_app.cpp:106 operator() ] Close a session
357268ms beekeeper_app.cpp:143 boost_se_body ] *****Keys have been saved*****
user@host 1 :/tmp/wk-temp
(default) $ $?
1: command not found
It should exit with exitcode 0