From bf62f778b52b5ff9b827a181bd0ea20994d15991 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 23 Oct 2021 08:59:46 +0200 Subject: [PATCH] Update 92-smb_mounts_v1.4.sh --- qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh b/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh index b9d482020..1b5693450 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh @@ -55,7 +55,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 bashio::log.info "... $disk successfully mounted to /mnt/$diskname with options $SMBVERS$SECVERS" #Test write permissions touch /mnt/$diskname/testaze && rm /mnt/$diskname/testaze && bashio::log.info "... $disk successfully mounted to /mnt/$diskname with options $SMBVERS$SECVERS" || bashio::log.fatal "Disk is mounted, however unable to write in the shared disk. Please check UID/GID for permissions, and if the share is rw"