diff --git a/.templates/00-smb_mounts.sh b/.templates/00-smb_mounts.sh index a7de8120c..b1eda40ab 100755 --- a/.templates/00-smb_mounts.sh +++ b/.templates/00-smb_mounts.sh @@ -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