From fc1ee4f130d0d489eaee4425b4f5d1a868342990 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 7 Nov 2015 15:13:08 +0000 Subject: [PATCH] added pid= --- tests/tests_jc2server.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index 1a726873f..6f52fdff8 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -95,7 +95,7 @@ else pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:") fi -#echo "${ts3status}" +pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:") if [ "${pid}" == "0" ]||[ "${ts3status}" != "Server is running" ]; then currentstatus="OFFLINE" else