diff options
Diffstat (limited to 'src/leap/bitmask/cli/bitmask_cli.py')
-rwxr-xr-x | src/leap/bitmask/cli/bitmask_cli.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/leap/bitmask/cli/bitmask_cli.py b/src/leap/bitmask/cli/bitmask_cli.py index c27cabf..4f275d9 100755 --- a/src/leap/bitmask/cli/bitmask_cli.py +++ b/src/leap/bitmask/cli/bitmask_cli.py @@ -92,7 +92,11 @@ GENERAL COMMANDS: # XXX careful! Should see if the process in PID is running, # avoid launching again. import commands - commands.getoutput('bitmaskd') + cmd = 'bitmaskd' + if raw_args and '--verbose' in raw_args: + cmd += ' --verbose' + commands.getoutput(cmd) + command.default_dict_printer({'start': 'ok'}) return defer.succeed(None) def version(self, raw_args): |