Skip to content

Commit

Permalink
fix: fix version.txt download
Browse files Browse the repository at this point in the history
  • Loading branch information
ArmandMeppa committed Feb 24, 2025
1 parent acf4767 commit 2933075
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 @@ -138,7 +138,7 @@ fi

# Step 6: Download version file
info_message "Downloading version file..."
if ! (maybe_sudo curl -SL -s "https://raw.githubusercontent.com/ADORSYS-GIS/wazuh-agent/refs/tags/v$WAZUH_AGENT_TAG/version.txt" > "$OSSEC_PATH/version.txt") 2>&1; then
if ! (maybe_sudo curl -SL -s "https://raw.githubusercontent.com/ADORSYS-GIS/wazuh-agent/refs/tags/v$WAZUH_AGENT_TAG/version.txt" -o "$OSSEC_PATH/version.txt") 2>&1; then
error_message "Failed to download version file"
exit 1
fi
Expand Down

0 comments on commit 2933075

Please sign in to comment.