summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2016-06-24 18:51:34 +0200
committerRuben Pollan <meskio@sindominio.net>2016-07-03 16:04:41 +0200
commit3ef5fe47ce18ba15ad706dbab637c82662ecb944 (patch)
tree3749be3c4bd230cb38b2df00f0859fb7e07afebb /src
parente653aa169e9c1fbb00e1920cd461a7be6c9e11af (diff)
[bug] stop the reactor on error for the mail command
Diffstat (limited to 'src')
-rwxr-xr-xsrc/leap/bitmask/cli/bitmask_cli.py3
1 files changed, 2 insertions, 1 deletions
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':