mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-11 02:11:01 +01:00
Update 00-smb_mounts.sh
This commit is contained in:
@@ -126,9 +126,9 @@ if bashio::config.has_value 'networkdisks'; then
|
|||||||
bashio::log.fatal "Invalid or inaccessible SMB path. Script will stop."
|
bashio::log.fatal "Invalid or inaccessible SMB path. Script will stop."
|
||||||
touch ERRORCODE
|
touch ERRORCODE
|
||||||
continue
|
continue
|
||||||
elif echo "$OUTPUT" | ! grep -q "Disk"; then
|
elif ! echo "$OUTPUT" | grep -q "Disk"; then
|
||||||
echo "... testing path"
|
echo "... testing path"
|
||||||
bashio::log.fatal "No shares found. Invalid or inaccessible SMB path? Script will stop."
|
bashio::log.fatal "No shares found. Invalid or inaccessible SMB path?"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# What is the SMB version
|
# What is the SMB version
|
||||||
|
|||||||
Reference in New Issue
Block a user