From 84b531f8d774abd73b9cb58080e5659c087bcf40 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Wed, 4 Oct 2023 19:39:57 +0200 Subject: [PATCH] Update 00-local_mounts.sh --- .templates/00-local_mounts.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.templates/00-local_mounts.sh b/.templates/00-local_mounts.sh index 7794ef04b..bdd6de447 100755 --- a/.templates/00-local_mounts.sh +++ b/.templates/00-local_mounts.sh @@ -41,7 +41,7 @@ if bashio::config.has_value 'localdisks'; then elif [ -n "$(lsblk -o LABEL | grep -w "NAS" | awk '{print $1}')" ]; then echo "... mount as label" devpath=/dev/disk/by-label - elif [ -e /dev/"${disk}" ] + elif [ -e /dev/"${disk}" ]; then echo "... mount as physical device" devpath=/dev else