瀏覽代碼

Update info_config.sh

Fixes issue #696
Daniel Gibbs 10 年之前
父節點
當前提交
a34adda006
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      functions/info_config.sh

+ 1 - 1
functions/info_config.sh

@@ -574,7 +574,7 @@ elif [ "${gamename}" == "7 Days To Die" ]; then
 
 	# telnet password
 	if [ -f "${servercfgfullpath}" ]; then
-		telnetpass=$(grep "TelnetEnabled" "${servercfgfullpath}" | sed 's/^.*value="//' | cut -f1 -d"\"")
+		telnetpass=$(grep "TelnetPassword" "${servercfgfullpath}" | sed 's/^.*value="//' | cut -f1 -d"\"")
 		if [ ! -n "${telnetpass}" ]; then
 			telnetpass="NOT SET"
 		fi