Merge pull request #35 from therokh/therokh-fix-influx-enabled-check

Fix IF check space issue for INFLUX_ENABLED
This commit is contained in:
ned-kelly
2021-01-18 09:18:13 +10:00
committed by GitHub
+1 -1
View File
@@ -17,7 +17,7 @@ pushMQTTData () {
-t "$MQTT_TOPIC/sensor/"$MQTT_DEVICENAME"_$1" \
-m "$2"
if [[$INFLUX_ENABLED == "true"]] ; then
if [[ $INFLUX_ENABLED == "true" ]] ; then
pushInfluxData $1 $2
fi
}