Skip to content
This repository has been archived by the owner on Apr 5, 2024. It is now read-only.

Commit

Permalink
Merge pull request #35 from CircleOnCircles/patch-1
Browse files Browse the repository at this point in the history
fix telegraf: not found when supply custom config
  • Loading branch information
phil-d-wilson authored Oct 19, 2021
2 parents 9e40e50 + cf8d969 commit 1476aca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entry.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ fi

# If command starts with an option, prepend telegraf to it
if [[ "${1#-}" != "$1" ]]; then
set -- telegraf "$@"
set -- ./telegraf "$@"
fi

exec "$@"
exec "$@"

0 comments on commit 1476aca

Please sign in to comment.