Daniel Gibbs 10 лет назад
Родитель
Сommit
8e93ab4d9f
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      functions/fn_check_steamuser

+ 3 - 3
functions/fn_check_steamuser

@@ -2,16 +2,16 @@
 # LGSM fn_check_steamuser function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-# Version: 040715
+# Version: 011115
 
 if [ -z "${steamuser}" ]||[ "${steamuser}" == "username" ]; then
 		fn_printwarnnl "Steam login not set. Using anonymous login."
-		if [ -d ${scriptlogdir} ]; then
+		if [ -d "${scriptlogdir}" ]; then
 			fn_scriptlog "Steam login not set. Using anonymous login."
 		fi
 		if [ "${steamuser}" == "username" ]; then
 			echo "	* Change steamuser=\"username\" to a valid steam login."
-			if [ -d ${scriptlogdir} ]; then
+			if [ -d "${scriptlogdir}" ]; then
 				fn_scriptlog "Change steamuser=\"username\" to a valid steam login."
 			fi
 		fi