Skip to content

Commit 319cb14

Browse files
authored
Merge pull request #192 from vdice/fix/telegraf-shellcheck-err
fix(telegraf/rootfs/start-telegraf): address shellcheck/style err
2 parents 977d0f3 + 73effea commit 319cb14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

telegraf/rootfs/start-telegraf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if [ -n "$ENABLE_PROMETHEUS" ]; then
3131
fi
3232

3333
# if the influxdb url does not start with a quote, assume it's singular and quote it
34-
if [ ${INFLUXDB_URLS:0:1} != "\"" ]; then
34+
if [ "${INFLUXDB_URLS:0:1}" != "\"" ]; then
3535
export INFLUXDB_URLS="\"$INFLUXDB_URLS\""
3636
fi
3737

0 commit comments

Comments
 (0)