소스 검색

ts3error=status

Daniel Gibbs 10 년 전
부모
커밋
435f6baf51
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lgsm/functions/check_status.sh

+ 1 - 1
lgsm/functions/check_status.sh

@@ -14,8 +14,8 @@ if [ "${gamename}" == "Teamspeak 3" ]; then
 	if [ "${status}" == "Server is running" ]; then
 		status=1
 	else
+		ts3error="${status}"
 		status=0
-		ts3error=$(./ts3server_startscript.sh status servercfgfullpathfile=${servercfgfullpath})
 	fi
 else
 	status=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:")