소스 검색

Double quotes

lrob 10 년 전
부모
커밋
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"