diff --git a/include/tests_logging b/include/tests_logging index f0cb53c5..d615f94a 100644 --- a/include/tests_logging +++ b/include/tests_logging @@ -226,7 +226,7 @@ Register --test-no LOGG-2144 --os Linux --weight L --network NO --category security --description "Checking wazuh-agent" if [ ${SKIPTEST} -eq 0 ]; then LogText "Result: Searching for wazuh-agent instances in the process list" - if IsRunning "wazuh-agent"; then + if IsRunning "wazuh-agentd"; then LogText "Result: Found wazuh-agent in process list" Display --indent 4 --text "- Checking wazuh-agent status" --result "${STATUS_FOUND}" --color GREEN WAZUH_AGENT_RUNNING=1