Skip to content

Commit

Permalink
fix do_print check
Browse files Browse the repository at this point in the history
  • Loading branch information
jm33-m0 committed Dec 25, 2019
1 parent 5ee0756 commit c09cdcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/cli/cmd.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ def run_exploits(**kwargs):
"""
do_print = kwargs.get("do_print", True)
exp_list = futil.list_exp()
if do_print:
if not do_print:
# pass this list to readline completer
return exp_list

Expand Down

0 comments on commit c09cdcc

Please sign in to comment.