diff --git a/deps/wazuh_testing/wazuh_testing/tools/__init__.py b/deps/wazuh_testing/wazuh_testing/tools/__init__.py index f73e06f54a..de346e9e0d 100644 --- a/deps/wazuh_testing/wazuh_testing/tools/__init__.py +++ b/deps/wazuh_testing/wazuh_testing/tools/__init__.py @@ -110,7 +110,7 @@ def get_service(): else: # Linux, sunos5, darwin, aix... try: output = subprocess.check_output([f"{WAZUH_PATH}/bin/wazuh-control", "info", "-t"], - stderr=subprocess.PIPE).decode('utf-8').strip() + stderr=subprocess.PIPE).decode('utf-8').strip() service = 'wazuh-manager' if service == 'server' else 'wazuh-agent' except Exception: service = 'N/A'