From 7280a21aeea127b029ce5a7189478834578af2e0 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Thu, 17 Jun 2021 22:31:08 +0200 Subject: [PATCH] Update 50-mounts --- jackett/root/etc/cont-init.d/50-mounts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/jackett/root/etc/cont-init.d/50-mounts b/jackett/root/etc/cont-init.d/50-mounts index e7fb49d35d..3806246756 100644 --- a/jackett/root/etc/cont-init.d/50-mounts +++ b/jackett/root/etc/cont-init.d/50-mounts @@ -28,6 +28,8 @@ if bashio::config.has_value 'networkdisks'; then bashio::log.info "Network Disks mounting.. ${MOREDISKS}" && \ for disk in $MOREDISKS do + disk=$(echo $disk | sed "s,/$,,") # Remove / at end of name + disk=${disk//\\//} #replace \ with / bashio::log.info "Mount ${disk}" mkdir -p /share/storagecifs && \ if [ ! -d /storage/storagecifs ]; then