Daniel Gibbs 10 лет назад
Родитель
Сommit
fc1ee4f130
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      tests/tests_jc2server.sh

+ 1 - 1
tests/tests_jc2server.sh

@@ -95,7 +95,7 @@ else
 	pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:")
 	pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:")
 fi
 fi
 
 
-#echo "${ts3status}"
+pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:")
 if [ "${pid}" == "0" ]||[ "${ts3status}" != "Server is running" ]; then
 if [ "${pid}" == "0" ]||[ "${ts3status}" != "Server is running" ]; then
 	currentstatus="OFFLINE"
 	currentstatus="OFFLINE"
 else
 else