mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #9438 from Security-Onion-Solutions/dougburks-patch-1
so-status should ignore commented entries in so-status.conf
This commit is contained in:
@@ -96,6 +96,8 @@ def check_container_status(options, console):
|
||||
container_list = []
|
||||
expected_file = open(EXPECTED_CONTAINERS_FILE, "r")
|
||||
for container in expected_file:
|
||||
if container.startswith('#'):
|
||||
continue
|
||||
container = container.strip()
|
||||
exists = False
|
||||
details = { "Name": container, "Status": "missing", "Details": ""}
|
||||
|
||||
Reference in New Issue
Block a user