From c43d7ddf366aa1fa725183f3053130e8820b5cd1 Mon Sep 17 00:00:00 2001 From: XargonWan Date: Wed, 20 Mar 2024 21:13:16 +0100 Subject: [PATCH] LOGGER: fixed ES-DE logs symlink --- functions/logger.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/logger.sh b/functions/logger.sh index e534e07a..f5c065bf 100755 --- a/functions/logger.sh +++ b/functions/logger.sh @@ -131,12 +131,12 @@ tmplog_merger() { rm "/tmp/retrodeck.log" fi - local ESDE_source_logs="/var/config/ES-DE/logs/es_log.txt" + local ESDE_source_logs="/var/config/ES-DE/logs" # Check if the source file exists if [ -e "$ESDE_source_logs" ]; then # Create the symlink in the logs folder - ln -sf "$ESDE_source_logs" "$rd_logs_folder/ES-DE.log" - log i "ES-DE log file linked to \"$rd_logs_folder/ES-DE.log\"" + ln -sf "$ESDE_source_logs" "$rd_logs_folder/ES-DE" + log i "ES-DE log folder linked to \"$rd_logs_folder/ES-DE\"" fi }