Merge pull request #15775 from Security-Onion-Solutions/reyesj2-es932

check for addon-index templates dir before attempting to load addon i…
This commit is contained in:
Jorge Reyes
2026-04-14 19:27:02 -05:00
committed by GitHub

View File

@@ -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