From 3ef5fe47ce18ba15ad706dbab637c82662ecb944 Mon Sep 17 00:00:00 2001 From: Ruben Pollan Date: Fri, 24 Jun 2016 18:51:34 +0200 Subject: [bug] stop the reactor on error for the mail command --- src/leap/bitmask/cli/bitmask_cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py index 49c5c3d3..fd70c680 100755 --- a/src/leap/bitmask/cli/bitmask_cli.py +++ b/src/leap/bitmask/cli/bitmask_cli.py @@ -281,7 +281,8 @@ def send_command(cli): data += ['get_smtp_certificate'] else: - error('Use bitmask_cli mail --help to see available subcommands') + error('Use bitmask_cli mail --help to see available subcommands', + stop=True) return elif cmd == 'eip': -- cgit v1.2.3