lrob vor 10 Jahren
Ursprung
Commit
5b5d01394f
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  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"