suricatasc: Don't process empty cmds

(cherry picked from commit 6b3dbaa2f2)
pull/9139/head
Shivani Bhardwaj 3 years ago committed by Victor Julien
parent 6b62e93033
commit c9e81310cc

@ -256,6 +256,8 @@ class SuricataSC:
command = input(">>> ").strip()
if command == "quit":
break
if len(command.strip()) == 0:
continue
try:
cmd, arguments = self.parse_command(command)
except SuricataCommandException as err:

Loading…
Cancel
Save