Browse Source

fixed mumble port using awk instead of sed

pull/1138/head
UltimateByte 9 years ago
committed by GitHub
parent
commit
c2bd0cffb5
  1. 2
      lgsm/functions/info_config.sh

2
lgsm/functions/info_config.sh

@ -320,7 +320,7 @@ fn_info_config_mumble(){
queryport="${port}"
servername="Mumble"
else
port=$(grep "port" "${servercfgfullpath}" | sed -e 's/^[ \t]*//g' -e '/^;/d' -e 's/port//g' | tr -d '=\";,:' | sed -e 's/^[ \t]*//' -e 's/[ \t]*$//')
port=$(grep "port=" "${servercfgfullpath}" | awk -F "=" '{ print $2 }' )
queryport="${port}"
# Not Set

Loading…
Cancel
Save