From 0c3f973fffafa8d08f74f81054e5551f086bbb53 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 23 Oct 2021 07:51:30 +0200 Subject: [PATCH] Update 92-smb_mounts_v1.4.sh --- qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.4.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 c687b510d..c0d40e278 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 @@ -63,9 +63,10 @@ if bashio::config.has_value 'networkdisks'; then # message if still fail bashio::log.fatal "Unable to mount $disk to /mnt/$diskname with username $CIFS_USERNAME, $CIFS_PASSWORD. Please check your remote share path, username, password, domain, try putting 0 in UID and GID" # Mount share bashio::log.fatal "Error read : $(/dev/null || true # Remove folder - rm /mnt/$diskname # Remove folder rm ERRORCODE + # clean folder + umount /mnt/$diskname 2>/dev/null || true + rm /mnt/$diskname || true fi done