From e14b4f1cf16ab9ea6404b9862f9b846bde5a7b12 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 31 Jan 2023 18:13:47 +0100 Subject: [PATCH] Update 92-local_mounts.sh --- .templates/92-local_mounts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/92-local_mounts.sh b/.templates/92-local_mounts.sh index fc23fb5de..0fc1bc9ea 100755 --- a/.templates/92-local_mounts.sh +++ b/.templates/92-local_mounts.sh @@ -44,7 +44,7 @@ if bashio::config.has_value 'localdisks'; then [ -d /share/"$disk" ] && mount "$devpath"/"$disk" /share/"$disk" || true # Mount # Mount if ntfs - if [[ command -v "apk" &>/dev/null && "$(fdisk -l "$devpath"/"$disk")" == *NTFS* ]]; then + if command -v "apk" &>/dev/null && [[ "$(fdisk -l "$devpath"/"$disk")" == *NTFS* ]]; then bashio::log.info "NTFS on Alpine detected, mounting with ntfs-3g" ntfs-3g "$devpath"/"$disk" /mnt/"$disk" || true fi