浏览代码

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