diff --git a/.templates/00-local_mounts.sh b/.templates/00-local_mounts.sh index 9535ae204..580f3d138 100755 --- a/.templates/00-local_mounts.sh +++ b/.templates/00-local_mounts.sh @@ -52,7 +52,7 @@ if bashio::config.has_value 'localdisks'; then type="auto" # Check if supported - if [[ *"${fstype}"* != "$fstypessupport" ]]; then + if [[ "${fstypessupport}" != *"${fstype}"* ]]; then bashio::log.fatal : "${fstype} type for ${disk} is not supported" break fi