Update 92-local_mounts.sh

This commit is contained in:
Alexandre
2022-09-12 22:33:39 +02:00
committed by GitHub
parent 53742e5896
commit 00ece67996

View File

@@ -35,7 +35,7 @@ if bashio::config.has_value 'localdisks'; then
# Creates dir
mkdir -p /mnt/"$disk"
chown -R "$PUID:$PGID" /mnt/"$disk"
chown "$PUID:$PGID" /mnt/"$disk"
# Legacy mounting : mount to share if still exists (avoid breaking changes)
# shellcheck disable=SC2015
[ -d /share/"$disk" ] && mount "$devpath"/"$disk" /share/"$disk" || true