Skip to content

Commit

Permalink
fix(telegraf/rootfs/start-telegraf): address shellcheck/style err
Browse files Browse the repository at this point in the history
  • Loading branch information
vdice committed Apr 27, 2017
1 parent 977d0f3 commit 73effea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion telegraf/rootfs/start-telegraf
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if [ -n "$ENABLE_PROMETHEUS" ]; then
fi

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

Expand Down

0 comments on commit 73effea

Please sign in to comment.