From b7701042ea508f354803685339031106b3dcc118 Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Sun, 22 May 2016 21:21:17 +0200 Subject: [PATCH] move stupid games' logs only on game start --- lgsm/functions/logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/logs.sh b/lgsm/functions/logs.sh index 0cc4212e1..dcb87697f 100644 --- a/lgsm/functions/logs.sh +++ b/lgsm/functions/logs.sh @@ -17,7 +17,7 @@ if [ -n "${consolelog}" ]; then fi # For games not displaying a console, and having logs into their game folder -if [ -n "${gamelogfile}" ]; then +if [ "${function_selfname}" == "command_start.sh" ] && [ -n "${gamelogfile}" ]; then if [ -n "$(find "${systemdir}" -name "gamelog*.log")" ]; then fn_print_info "Moving game logs to ${gamelogdir}" fn_scriptlog "Moving game logs to ${gamelogdir}"