Merge pull request #5685
a604241
simplewallet: don't ask about mining when running a command line (moneromooo-monero)
This commit is contained in:
commit
459beb50d4
|
@ -4089,6 +4089,8 @@ bool simple_wallet::init(const boost::program_options::variables_map& vm)
|
||||||
|
|
||||||
m_wallet->callback(this);
|
m_wallet->callback(this);
|
||||||
|
|
||||||
|
bool skip_check_backround_mining = !command_line::get_arg(vm, arg_command).empty();
|
||||||
|
if (!skip_check_backround_mining)
|
||||||
check_background_mining(password);
|
check_background_mining(password);
|
||||||
|
|
||||||
if (welcome)
|
if (welcome)
|
||||||
|
|
Loading…
Reference in New Issue