Update 92-smb_mounts.sh

This commit is contained in:
Alexandre
2022-02-17 19:45:51 +01:00
committed by GitHub
parent 9aa832e81b
commit 0013adcb8d

View File

@@ -59,7 +59,7 @@ if bashio::config.has_value 'networkdisks'; then
fi
# Messages
if [ "$MOUNTED" = true ] && [ mountpoint -q /mnt/"$diskname" ]; then
if [ "$MOUNTED" = true ] && mountpoint -q /mnt/"$diskname"; then
#Test write permissions
# shellcheck disable=SC2015
touch "/mnt/$diskname/testaze" && rm "/mnt/$diskname/testaze" &&