From 780daf8aa7dffed1b230bd6e2376aaf7d66c67fd Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Fri, 3 Dec 2021 15:15:45 -0500 Subject: [PATCH] Apply hotfix to all 2.3.90 installs --- salt/common/tools/sbin/soup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/salt/common/tools/sbin/soup b/salt/common/tools/sbin/soup index 86d48e2d1..30c9cb5a5 100755 --- a/salt/common/tools/sbin/soup +++ b/salt/common/tools/sbin/soup @@ -854,7 +854,7 @@ verify_latest_update_script() { } apply_hotfix() { - if [[ "$INSTALLEDVERSION" == "2.3.90" && "$HOTFIXVERSION" == "WAZUH" ]] ; then + if [[ "$INSTALLEDVERSION" == "2.3.90" ]] ; then FILE="/nsm/wazuh/etc/ossec.conf" echo "Detecting if ossec.conf needs corrected..." if head -1 $FILE | grep -q "xml version"; then @@ -865,7 +865,7 @@ apply_hotfix() { echo "$FILE does not have an XML header, so no changes are necessary." fi else - echo "Skipping ossec.conf check ($INSTALLEDVERSION/$HOTFIXVERSION)" + echo "No Actions required. ($INSTALLEDVERSION/$HOTFIXVERSION)" fi }