diff --git a/run_electrum b/run_electrum index 1d51cec82..113b65298 100755 --- a/run_electrum +++ b/run_electrum @@ -166,7 +166,7 @@ def init_cmdline(config_options, wallet_path, server, *, config: 'SimpleConfig') config_options['password'] = config_options.get('password') or password - if cmd.name == 'password': + if cmd.name == 'password' and 'new_password' not in config_options: new_password = prompt_password('New password:') config_options['new_password'] = new_password