small fixes

This commit is contained in:
buanet
2022-11-24 21:28:54 +01:00
parent 2102d18299
commit eb32aa20b1

View File

@@ -291,7 +291,7 @@ else
fi
# extended debug output
if [[ "$debug" == "true" ]]; then
if [[ "$debug" == "true" && "$multihost" != "slave" ]]; then
echo "[DEBUG] Collecting some more ioBroker debug information... "
echo ' '
# get information and send to array
@@ -393,7 +393,6 @@ if [[ "$usbdevices" != "" && "$usbdevices" != "none" ]]; then
echo "Looks like the device \""$i"\" does not exist."
echo "Please check your container config and start over."
echo "For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/)."
if [[ "$debug" == "true" ]]; then echo "[DEBUG] Device info: " $(ls -al $i); fi
stop_on_error
fi
done