From e5da2ce48a01db0a2a43e5cc0a66a004bfba6730 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 29 Apr 2021 14:11:20 +0200 Subject: [PATCH] Update 92-smb_mounts_v1.3.sh --- qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.3.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.3.sh b/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.3.sh index 72ebc6f05..40a894bb0 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.3.sh +++ b/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.3.sh @@ -43,9 +43,9 @@ if bashio::config.has_value 'networkdisks'; then #If mounting failed, tries to mount as NFS if [ $MOUNTED = true ]; then bashio::log.info "... mounts as NFS" - disk=$(echo $disk | sed 's/^\///') - disk=$(echo $disk | sed 's/^\///') - mount -t nfs $disk /mnt/$diskname 2>ERRORCODE && MOUNTFAIL=false || MOUNTED=false + disknfs=$(echo $disk | sed 's/^\///') + disknfs=$(echo $disknfs | sed 's/^\///') + mount -t nfs $disknfs /mnt/$diskname 2>ERRORCODE && MOUNTFAIL=false || MOUNTED=false fi # if Fail test different smb and sec versions