LOGGER: fixed ES-DE logs symlink

This commit is contained in:
XargonWan 2024-03-20 21:13:16 +01:00
parent 621d74a366
commit c43d7ddf36

View file

@ -131,12 +131,12 @@ tmplog_merger() {
rm "/tmp/retrodeck.log" rm "/tmp/retrodeck.log"
fi 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 # Check if the source file exists
if [ -e "$ESDE_source_logs" ]; then if [ -e "$ESDE_source_logs" ]; then
# Create the symlink in the logs folder # Create the symlink in the logs folder
ln -sf "$ESDE_source_logs" "$rd_logs_folder/ES-DE.log" ln -sf "$ESDE_source_logs" "$rd_logs_folder/ES-DE"
log i "ES-DE log file linked to \"$rd_logs_folder/ES-DE.log\"" log i "ES-DE log folder linked to \"$rd_logs_folder/ES-DE\""
fi fi
} }