remove ls, change log output

This commit is contained in:
buanet
2022-11-29 21:02:47 +01:00
parent bf348c0c5b
commit d6ac4c2445

View File

@@ -391,9 +391,8 @@ if [[ "$usbdevices" != "" && "$usbdevices" != "none" ]]; then
if [[ "$debug" == "true" ]]; then echo "[DEBUG] Permissions set to: " $(ls -al $i); fi if [[ "$debug" == "true" ]]; then echo "[DEBUG] Permissions set to: " $(ls -al $i); fi
else else
echo "Looks like the device \""$i"\" does not exist." echo "Looks like the device \""$i"\" does not exist."
ls -al $i echo "Did you mount it correctly by using the \"--device\" flag?"
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/#mounting-usb-devices)."
echo "For more information see ioBroker Docker Image Docs (https://docs.buanet.de/iobroker-docker-image/docs/)."
stop_on_error stop_on_error
fi fi
done done