From 18884233322fd43d141100ad865efce7669148f9 Mon Sep 17 00:00:00 2001 From: David Date: Thu, 2 Aug 2018 22:03:10 +0200 Subject: [PATCH] Added a warning when a second instance is being launched with a backend flag --- qutebrowser/app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qutebrowser/app.py b/qutebrowser/app.py index 3cce2e85e..92894dd77 100644 --- a/qutebrowser/app.py +++ b/qutebrowser/app.py @@ -129,6 +129,8 @@ def run(args): sys.exit(usertypes.Exit.err_ipc) if server is None: + if args.backend is not None: + log.init.warning("Changing the backend will not work, the backend from the previous instance will be used!") sys.exit(usertypes.Exit.ok) else: server.got_args.connect(lambda args, target_arg, cwd: