Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Lénaïc Huard <L3n41c@users.noreply.github.com>
  • Loading branch information
mx-psi and L3n41c authored Oct 10, 2024
1 parent 27138af commit 896cfb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfiles/agent/entrypoint.d/otel-agent
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

if [ -f /opt/datadog-agent/embedded/bin/otel-agent ] && [ -x /opt/datadog-agent/embedded/bin/otel-agent ]; then
if [[ -x /opt/datadog-agent/embedded/bin/otel-agent ]]; then
exec /opt/datadog-agent/embedded/bin/otel-agent --config /etc/datadog-agent/otel-config.yaml
fi

0 comments on commit 896cfb9

Please sign in to comment.