mirror of https://github.com/OISF/suricata
ctl/filestore: Add check for filestore directory
Up until now, suricatactl would delete any directory that is provided as an argument on command line. This patch adds a basic test for the directories `tmp`, `00` and `ff` in order to justify that the provided directory is actually a filestore directory. Additionally, some code has been broken up and made more readable and pythonic. Closes redmine ticket #2843pull/4188/head
parent
52187d8548
commit
ba6b73cd10
Loading…
Reference in New Issue