suricatasc: Don't process empty cmds

pull/9083/head
Shivani Bhardwaj 2 years ago committed by Victor Julien
parent 84ffe92873
commit 6b3dbaa2f2

@ -259,6 +259,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