Closed davidcr01 closed 5 months ago
Complementary PR of https://github.com/wazuh/wazuh-packages/pull/2801.
The aim of this PR is to silence the output of the sudo packages check. I noticed that, when the sudo package is installed, the output of the command -v command is displayed in the prompt.
command -v
root@ubuntu22:/home/vagrant# bash wazuh-install.sh -g -v 01/02/2024 12:07:58 DEBUG: Checking root permissions. 01/02/2024 12:07:58 DEBUG: Checking sudo package. /usr/bin/sudo 01/02/2024 12:07:58 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
With this change, the output is the following:
root@ubuntu22:/home/vagrant# bash wazuh-install.sh -g -v 01/02/2024 15:31:52 DEBUG: Checking root permissions. 01/02/2024 15:31:52 DEBUG: Checking sudo package. 01/02/2024 12:07:58 INFO: Starting Wazuh installation assistant. Wazuh version: 4.8.0
Complementary PR of https://github.com/wazuh/wazuh-packages/pull/2801.
The aim of this PR is to silence the output of the sudo packages check. I noticed that, when the sudo package is installed, the output of the
command -v
command is displayed in the prompt.With this change, the output is the following: