Skip to content

Commit 73effea

Browse files
committed
fix(telegraf/rootfs/start-telegraf): address shellcheck/style err
1 parent 977d0f3 commit 73effea

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)