Skip to content

Commit

Permalink
Allow for empty subType
Browse files Browse the repository at this point in the history
  • Loading branch information
grafnu committed Jan 7, 2025
1 parent f444e16 commit 70598d9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bin/pull_mqtt
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ sudo mosquitto_sub $SERVER_OPTS -R -F "%j" -t $topic_filter |

# Trim whitespace
subFolder=$(echo $subFolder | xargs)
subType=$(echo $subType | xargs)

[[ -n ${subFolder% } ]] || subFolder=update

Expand Down

0 comments on commit 70598d9

Please sign in to comment.