Don't restart when running whitelist script

This commit is contained in:
Wes Lambert
2020-01-28 19:42:59 +00:00
parent de369494ed
commit c22753a8fb

View File

@@ -27,7 +27,7 @@ if grep -q -R "wazuh: 1" /opt/so/saltstack/pillar/*; then
echo "Added whitelist entry for {{ MASTERIP }} in $WAZUH_MGR_CFG."
echo
echo "Restarting OSSEC Server..."
/usr/sbin/so-wazuh-restart
#/usr/sbin/so-wazuh-restart
fi
fi