Explorar el Código

Update info_config.sh

Fixes issue #696
Daniel Gibbs hace 10 años
padre
commit
a34adda006
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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