From 5fb6ef18d1ce541d9651fc6d522707d409679e74 Mon Sep 17 00:00:00 2001 From: Djeex Date: Thu, 4 Sep 2025 10:00:57 +0200 Subject: [PATCH] Fixed log issues --- docker/.sh/entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/.sh/entrypoint.sh b/docker/.sh/entrypoint.sh index 1e09fc0..18d9da4 100644 --- a/docker/.sh/entrypoint.sh +++ b/docker/.sh/entrypoint.sh @@ -14,7 +14,7 @@ copy_default_config() { files_copied=false # Recursively check all files and folders in /app/default - find /app/default -mindepth 1 | while read src; do + while IFS= read -r src; do relpath="${src#/app/default/}" target="/app/config/$relpath" if [ ! -e "$target" ]; then @@ -26,7 +26,7 @@ copy_default_config() { fi files_copied=true fi - done + done < <(find /app/default -mindepth 1) if [ "$files_copied" = true ]; then echo "[✓] Default configuration files/folders copied successfully."