Merge pull request #4105 from davidv171/master

Show warning when using --backend with a running instance
This commit is contained in:
Florian Bruhin 2018-08-10 06:53:01 +02:00 committed by GitHub
commit 73ab356756
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -129,6 +129,9 @@ def run(args):
sys.exit(usertypes.Exit.err_ipc)
if server is None:
if args.backend is not None:
log.init.warning(
"Backend from the running instance will be used")
sys.exit(usertypes.Exit.ok)
else:
server.got_args.connect(lambda args, target_arg, cwd: