mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-04-15 17:22:23 +02:00
check for addon-index templates dir before attempting to load addon index templates
This commit is contained in:
@@ -207,7 +207,7 @@ else
|
||||
fi
|
||||
|
||||
# Start loading addon templates
|
||||
if [[ (-f "$SO_STATEFILE_SUCCESS" && "$IS_HEAVYNODE" == "false" && ! -f "$ADDON_STATEFILE_SUCCESS") || ("$IS_HEAVYNODE" == "false" && "$FORCE" == "true") ]]; then
|
||||
if [[ (-d "$ADDON_TEMPLATES_DIR" && -f "$SO_STATEFILE_SUCCESS" && "$IS_HEAVYNODE" == "false" && ! -f "$ADDON_STATEFILE_SUCCESS") || (-d "$ADDON_TEMPLATES_DIR" && "$IS_HEAVYNODE" == "false" && "$FORCE" == "true") ]]; then
|
||||
|
||||
check_elasticsearch_responsive
|
||||
|
||||
|
||||
Reference in New Issue
Block a user