Browse Source

Fixed issue #696

pull/743/head
Daniel Gibbs 9 years ago
parent
commit
2fe511007f
  1. 4
      functions/info_config.sh

4
functions/info_config.sh

@ -2,7 +2,7 @@
# LGSM info_config.sh function # LGSM info_config.sh function
# Author: Daniel Gibbs # Author: Daniel Gibbs
# Website: http://gameservermanagers.com # Website: http://gameservermanagers.com
lgsm_version="060116" lgsm_version="010316"
# Description: Gets specific details from config files. # Description: Gets specific details from config files.
@ -513,7 +513,7 @@ elif [ "${gamename}" == "7 Days To Die" ]; then
# telnet password # telnet password
if [ -f "${servercfgfullpath}" ]; then 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 if [ ! -n "${telnetpass}" ]; then
telnetpass="NOT SET" telnetpass="NOT SET"
fi fi

Loading…
Cancel
Save