Added a warning when a second instance is being launched with a backend flag
This commit is contained in:
parent
edb23ebe3b
commit
1888423332
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user