wallet_rpc_server: fix --run-as-service on Windows

Thanks iDunk for the windows testing
This commit is contained in:
moneromooo-monero 2018-09-22 11:55:36 +00:00
parent 7aa5112280
commit 83907f8829
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -3476,6 +3476,7 @@ int main(int argc, char** argv) {
command_line::add_arg(desc_params, arg_prompt_for_password); command_line::add_arg(desc_params, arg_prompt_for_password);
daemonizer::init_options(hidden_options, desc_params); daemonizer::init_options(hidden_options, desc_params);
desc_params.add(hidden_options);
boost::optional<po::variables_map> vm; boost::optional<po::variables_map> vm;
bool should_terminate = false; bool should_terminate = false;