소스 검색

open and close ()

UltimateByte 10 년 전
부모
커밋
25c2928f5b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lgsm/functions/info_config.sh

+ 1 - 1
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