diff --git a/functions/logs.sh b/functions/logs.sh index ec21d3241..68e3d0dcf 100644 --- a/functions/logs.sh +++ b/functions/logs.sh @@ -18,7 +18,7 @@ fi # For games not displaying a console, and having logs into their game folder if [ -n "${gamelogfile}" ]; then - if [ -n "$(find "${systemdir}" -name gamelog*.log)" ]; then + if [ -n "$(find "${systemdir}" -name "gamelog*.log")" ]; then fn_printinfo "Moving game logs to ${gamelogdir}" fn_scriptlog "Moving game logs to ${gamelogdir}" echo -en "\n"