Kaynağa Gözat

Update info_config.sh

Fixes issue #696
Daniel Gibbs 10 yıl önce
ebeveyn
işleme
a34adda006
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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