We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 977d0f3 commit 73effeaCopy full SHA for 73effea
1 file changed
telegraf/rootfs/start-telegraf
@@ -31,7 +31,7 @@ if [ -n "$ENABLE_PROMETHEUS" ]; then
31
fi
32
33
# if the influxdb url does not start with a quote, assume it's singular and quote it
34
-if [ ${INFLUXDB_URLS:0:1} != "\"" ]; then
+if [ "${INFLUXDB_URLS:0:1}" != "\"" ]; then
35
export INFLUXDB_URLS="\"$INFLUXDB_URLS\""
36
37
0 commit comments