Skip to content

Commit

Permalink
fix: remove sudo from brew
Browse files Browse the repository at this point in the history
  • Loading branch information
stephane-segning committed Sep 29, 2024
1 parent 68b35f7 commit 0dd900a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup-agent.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ fi

# Step 4: Download and install snort
info_message "Installing snort"
if ! (sudo LOG_LEVEL="$LOG_LEVEL" OSSEC_CONF_PATH=$OSSEC_CONF_PATH bash "$TMP_FOLDER/install-snort.sh") 2>&1; then
if ! (LOG_LEVEL="$LOG_LEVEL" OSSEC_CONF_PATH=$OSSEC_CONF_PATH bash "$TMP_FOLDER/install-snort.sh") 2>&1; then
error_message "Failed to install 'snort'"
exit 1
fi

0 comments on commit 0dd900a

Please sign in to comment.