diff --git a/rtlamr/config.json b/rtlamr/config.json index 9d66b55..94a4f6d 100755 --- a/rtlamr/config.json +++ b/rtlamr/config.json @@ -1,6 +1,6 @@ { "name": "RTLAMR to MQTT Bridge", - "version": "0.1.10", + "version": "0.1.11", "slug": "rtlamr", "description": "RF to MQTT Bridge based on RTL_SDR/RTL_433 for RTL2832U based DVB-T USB tuners", "url": "https://github.com/bvlaicu/home-assistant-addons/tree/master/rtlamr", diff --git a/rtlamr/run.sh b/rtlamr/run.sh index ecb1a48..bca6cf0 100755 --- a/rtlamr/run.sh +++ b/rtlamr/run.sh @@ -40,7 +40,7 @@ LASTVAL="0" # Do this loop, so will restart if buffer runs out while true; do - if [ -z ${MQTT_IDS+x} ] || [${MQTT_IDS} = ""] || [${MQTT_IDS} = "null"]; then + if [[ -z ${MQTT_IDS+x} ] || [${MQTT_IDS} = ""] || [${MQTT_IDS} = "null"]]; then ID_FILTER_OPTION="" else ID_FILTER_OPTION="-filterid=$MQTT_IDS"