rtlamr fixes

This commit is contained in:
Bogdan Vlaicu
2020-05-04 21:12:44 -04:00
parent 12186401b5
commit 83cc821275
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -41,9 +41,9 @@ LASTVAL="0"
while true; do
if [ -z ${MQTT_IDS+x} ]; then
ID_FILTER_OPTION=-filterid=$MQTT_IDS
else
ID_FILTER_OPTION=""
else
ID_FILTER_OPTION="-filterid=$MQTT_IDS"
fi
/go/bin/rtlamr -format json -msgtype=$MQTT_MSGTYPE $ID_FILTER_OPTION | while read line