mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-02-07 12:24:52 +01:00
Update 92-smb_mounts.sh
This commit is contained in:
@@ -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" &&
|
||||
|
||||
Reference in New Issue
Block a user