Fix wazuh agent deamon

Fix "wazuh-agent" to  "wazuh-agent"

#pgrep -fl wazuh-agent
1412 wazuh-agentd
This commit is contained in:
vk6xebec 2025-06-14 19:41:52 +08:00 committed by GitHub
parent 2e24dd0a1e
commit ad38850943
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -321,7 +321,7 @@
# Wazuh agent # Wazuh agent
LogText "Test: checking process wazuh-agent to test for Wazuh agent" LogText "Test: checking process wazuh-agent to test for Wazuh agent"
if IsRunning "wazuh-agent"; then if IsRunning "wazuh-agentd"; then
if IsVerbose; then Display --indent 2 --text "- ${GEN_CHECKING} Wazuh agent" --result "${STATUS_FOUND}" --color GREEN; fi if IsVerbose; then Display --indent 2 --text "- ${GEN_CHECKING} Wazuh agent" --result "${STATUS_FOUND}" --color GREEN; fi
LogText "Result: found Wazuh component" LogText "Result: found Wazuh component"
FOUND=1 FOUND=1