diff --git a/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.1 b/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.1 index 0a221ceb3..79295ea0e 100644 --- a/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.1 +++ b/qbittorrent/rootfs/etc/cont-init.d/92-smb_mounts_v1.1 @@ -28,6 +28,6 @@ if bashio::config.has_value 'networkdisks'; then mkdir -p /mnt/$diskname # Create dir chown -R root:root /mnt/$diskname # Permissions mount -t cifs -o username=$CIFS_USERNAME,password=$CIFS_PASSWORD$SMBVERS $disk /mnt/$diskname && \ - bashio::log.info "... $disk successfully mounted to /mnt/$diskname" || bashio::log.error "Unable to mount $disk to /mnt/$diskname with username $CIFS_USERNAME, $CIFS_PASSWORD . Please check your remote share path, the username and password, and try to check the smbv1 box in option if your share is using smb v1" # Mount share + bashio::log.info "... $disk successfully mounted to /mnt/$diskname" || {mount -v -t cifs -o username=$CIFS_USERNAME,password=$CIFS_PASSWORD$SMBVERS $disk /mnt/$diskname ; bashio::log.error "Unable to mount $disk to /mnt/$diskname with username $CIFS_USERNAME, $CIFS_PASSWORD . Please check your remote share path, the username and password, and try to check the smbv1 box in option if your share is using smb v1"} # Mount share done fi