From 234dfab29448280365cce58ab6a0f0e06369637c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 8 Oct 2023 14:03:58 +0200 Subject: [PATCH] Update 00-folders.sh --- omada/rootfs/etc/cont-init.d/00-folders.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omada/rootfs/etc/cont-init.d/00-folders.sh b/omada/rootfs/etc/cont-init.d/00-folders.sh index 9b7ddeb3ae8..60a7b5a45d9 100755 --- a/omada/rootfs/etc/cont-init.d/00-folders.sh +++ b/omada/rootfs/etc/cont-init.d/00-folders.sh @@ -26,7 +26,7 @@ rm -r /opt/tplink/EAPController/data/* # Create symlinks for all files in /data # shellcheck disable=SC2086 -for files in $(ls -d "$CONFIGSOURCE"/*); do +for files in "$CONFIGSOURCE"/*; do if [ -e "$files" ]; then ln -s "$files" /opt/tplink/EAPController/data fi