Browse Source

removed return

pull/1172/head
Daniel Gibbs 9 years ago
parent
commit
fb918470e4
  1. 1
      lgsm/functions/info_config.sh

1
lgsm/functions/info_config.sh

@ -103,7 +103,6 @@ fn_info_config_minecraft(){
gamemode="${unavailable}"
gameworld="${unavailable}"
else
servername=$(grep "motd" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^#/d' -e 's/motd//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
rconpassword=$(grep "rcon.password" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^#/d' -e 's/rcon.password//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
rconport=$(grep "rcon.port" "${servercfgfullpath}" | grep -v "#" | tr -cd '[:digit:]')

Loading…
Cancel
Save