Fix IF check space issue for INFLUX_ENABLED
This commit is contained in:
@@ -17,7 +17,7 @@ pushMQTTData () {
|
|||||||
-t "$MQTT_TOPIC/sensor/"$MQTT_DEVICENAME"_$1" \
|
-t "$MQTT_TOPIC/sensor/"$MQTT_DEVICENAME"_$1" \
|
||||||
-m "$2"
|
-m "$2"
|
||||||
|
|
||||||
if [[$INFLUX_ENABLED == "true"]] ; then
|
if [[ $INFLUX_ENABLED == "true" ]] ; then
|
||||||
pushInfluxData $1 $2
|
pushInfluxData $1 $2
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user