mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +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."
|
||||
touch ERRORCODE
|
||||
continue
|
||||
elif echo "$OUTPUT" | ! grep -q "Disk"; then
|
||||
elif ! echo "$OUTPUT" | grep -q "Disk"; then
|
||||
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
|
||||
|
||||
# What is the SMB version
|
||||
|
||||
Reference in New Issue
Block a user