lrob 10 лет назад
Родитель
Сommit
5b5d01394f
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      functions/logs.sh

+ 2 - 2
functions/logs.sh

@@ -17,8 +17,8 @@ if [ -n "${consolelog}" ]; then
 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 "${gamelogfile}" ]; 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"