mmgen-xmrwallet: new --no-restart-wallet-daemon option
This commit is contained in:
parent
720d80c19e
commit
a580046ee3
2 changed files with 3 additions and 1 deletions
|
|
@ -78,6 +78,7 @@ opts_data = {
|
|||
-R, --no-relay Save transaction to file instead of relaying
|
||||
-s, --no-start-wallet-daemon Don’t start the wallet daemon at startup
|
||||
-S, --no-stop-wallet-daemon Don’t stop the wallet daemon at exit
|
||||
-x, --no-restart-wallet-daemon Don’t start wallet daemon if already started
|
||||
-W, --watch-only Create or operate on watch-only wallets
|
||||
-w, --wallet-dir=D Output or operate on wallets in directory 'D'
|
||||
instead of the working directory
|
||||
|
|
|
|||
|
|
@ -114,7 +114,8 @@ class OpWallet(OpBase):
|
|||
if (
|
||||
self.to_process
|
||||
and self.start_daemon
|
||||
and not self.cfg.no_start_wallet_daemon):
|
||||
and not self.cfg.no_start_wallet_daemon
|
||||
and not (self.cfg.no_restart_wallet_daemon and self.wd.state == 'ready')):
|
||||
if self.main_starts_daemon:
|
||||
self.need_daemon_start = True
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue