From 25c2928f5be728d3a0a04864708f71014ef9fdca Mon Sep 17 00:00:00 2001 From: UltimateByte Date: Wed, 27 Jul 2016 06:45:15 +0200 Subject: [PATCH] open and close () --- lgsm/functions/info_config.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/info_config.sh b/lgsm/functions/info_config.sh index 9328acba9..9c94b402e 100644 --- a/lgsm/functions/info_config.sh +++ b/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