Skip to content

Commit

Permalink
🔨 fix lint POSIX sh
Browse files Browse the repository at this point in the history
  • Loading branch information
anngdinh committed Mar 9, 2024
1 parent c8bbb7b commit 265b3e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/alpine/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/sh
set -e

if [ "${1:0:1}" = '-' ]; then
if [ "$(echo $1 | cut -c 1)" = "-" ]; then
set -- telegraf "$@"
fi

Expand Down

0 comments on commit 265b3e4

Please sign in to comment.