From f77d71ce055c61cc4230b2d77a4df79fec10cf4d Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Fri, 6 Oct 2023 23:12:19 +0200 Subject: [PATCH] Update 00-smb_mounts.sh --- .templates/00-smb_mounts.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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