Browse Source

open and close ()

pull/947/head
UltimateByte 9 years ago
committed by GitHub
parent
commit
25c2928f5b
  1. 2
      lgsm/functions/info_config.sh

2
lgsm/functions/info_config.sh

@ -218,7 +218,7 @@ fn_info_config_mumble(){
queryport="${port}"
else
# check if the ip exists in the config file. Failing this will fall back to the default.
ipconfigcheck=${cat "${servercfgfullpath}" | grep "host=" | awk -F'=' '{ print $2}'
ipconfigcheck=$(cat "${servercfgfullpath}" | grep "host=" | awk -F'=' '{ print $2}')
if [ -n "${ipconfigcheck}" ]; then
ip="${ipconfigcheck}"
fi

Loading…
Cancel
Save