mirror of
https://github.com/samschott/maestral.git
synced 2024-11-11 01:41:28 +03:00
[cli] return exit code 1 for daemon not running
This commit is contained in:
parent
840bf24f57
commit
d0f26ad3ac
@ -105,7 +105,7 @@ def inject_proxy(
|
||||
proxy = ctx.with_resource(MaestralProxy(config_name, fallback=fallback))
|
||||
except CommunicationError:
|
||||
click.echo("Maestral daemon is not running.")
|
||||
ctx.exit(0)
|
||||
ctx.exit(1)
|
||||
else:
|
||||
return ctx.invoke(f, proxy, *args, **kwargs)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user