This commit is contained in:
Hans Karlinius
2024-11-30 01:46:22 +01:00
parent 20c7924a1e
commit 03f0cfe4e5
2 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
name: VirtualHere Client
version: "0.1.243"
version: "0.1.244"
slug: vhclient
description: VirtualHere Client
arch:

View File

@@ -22,7 +22,7 @@ options=$(bashio::addon.options)
#mapfile -t devices < <(/usr/bin/vhclient -t LIST)
mapfile -t devices < <(/usr/bin/vh_list_devices)
for device in "${devices[@]}"; do
if [[ ! " ${options.usbdevices[*]} " =~ [[:space:]]${device}[[:space:]] ]]; then
if [[ ! " ${options}.usbdevices[*] " =~ [[:space:]]${device}[[:space:]] ]]; then
bashio::log.info "Adding to config: ${device}"