mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Handle CRs in hotfix
This commit is contained in:
@@ -838,7 +838,7 @@ verify_latest_update_script() {
|
||||
}
|
||||
|
||||
apply_hotfix() {
|
||||
if [[ "$INSTALLEDVERSION" == "2.3.90" && "$HOTFIXVERSION" == "WAZUH" ]]; then
|
||||
if [[ "$INSTALLEDVERSION" == "2.3.90" && "$HOTFIXVERSION" =~ "WAZUH" ]]; then
|
||||
FILE="/nsm/wazuh/etc/ossec.conf"
|
||||
echo "Detecting if ossec.conf needs corrected..."
|
||||
WAZUHHEADER=$(head -1 $FILE | grep "xml version")
|
||||
|
||||
Reference in New Issue
Block a user