소스 검색

removed ts3 if

Daniel Gibbs 6 년 전
부모
커밋
414658410c
1개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 3
      lgsm/functions/info_distro.sh

+ 1 - 3
lgsm/functions/info_distro.sh

@@ -9,9 +9,7 @@ local function_selfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")"
 
 ### Game Server pid
 if [ "${status}" == "1" ]; then
-	if [ "${shortname}" != "ts3" ]; then
-		gameserverpid=$(tmux list-sessions -F "#{session_name} #{pane_pid}"| grep "^${servicename}"|awk '{print $2}')
-	fi
+	gameserverpid=$(tmux list-sessions -F "#{session_name} #{pane_pid}"| grep "^${servicename}"|awk '{print $2}')
 fi
 ### Distro information