We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 977d0f3 + 73effea commit 319cb14Copy full SHA for 319cb14
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