Commit a895eb5b authored by intrigeri's avatar intrigeri

Edit configuration in "offline" mode when starting Electrum

Otherwise this command fails because "Daemon not running",
and thus we abort our wrapper script and Electrum won't start.

refs #17828
parent 1c1fd0d8
......@@ -35,7 +35,7 @@ def main(*args):
# Disable update checking for all users (even those who made their config
# persistent before we changed this value in the default config), because
# users can't easily update to a new version anyway if it's not in Debian.['/usr/bin/electrum', 'setconfig', 'check_updates', 'false'], check=True, stdout=subprocess.DEVNULL)['/usr/bin/electrum', '--offline', 'setconfig', 'check_updates', 'false'], check=True, stdout=subprocess.DEVNULL)
os.execv('/usr/bin/electrum', ['/usr/bin/electrum'] + list(args))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment