Added a warning when a second instance is being launched with a backend flag

This commit is contained in:
David 2018-08-02 22:03:10 +02:00
parent edb23ebe3b
commit 1888423332

View File

@ -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: