From a34adda0065c4d2dd382f42bac2d695976dc4d28 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Tue, 1 Mar 2016 20:19:19 +0000 Subject: [PATCH] Update info_config.sh Fixes issue #696 --- functions/info_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/info_config.sh b/functions/info_config.sh index 9bb5cde98..7737cac80 100644 --- a/functions/info_config.sh +++ b/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