Skip to content

Commit a3ff69d

Browse files
author
Ekultek
committed
minor update to fix a crash
1 parent db6494f commit a3ff69d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/term/terminal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,8 +715,8 @@ def terminal_main_display(self, tokens, extra_commands=None, save_history=True):
715715
# ports = choice_data_list[3]
716716
# except IndexError:
717717
# ports = None
718-
719-
self.do_nmap_scan(target, arguments)
718+
if "help" not in choice_data_list:
719+
self.do_nmap_scan(target, arguments)
720720
self.history.append(choice)
721721
self.__reload()
722722
except KeyboardInterrupt:

0 commit comments

Comments
 (0)