Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Silenced sudo package check #2807

Merged
merged 1 commit into from
Feb 1, 2024
Merged

Conversation

davidcr01
Copy link
Contributor

Related issue
#2776

Complementary PR of #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.

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

@davidcr01 davidcr01 self-assigned this Feb 1, 2024
@teddytpc1 teddytpc1 merged commit 0426a3d into 4.8.0 Feb 1, 2024
4 checks passed
@teddytpc1 teddytpc1 deleted the 2776-silence-check-sudo-package-4.8.0 branch February 1, 2024 14:55
@teddytpc1 teddytpc1 linked an issue Feb 1, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Wazuh installation assistant failed
3 participants