diff --git a/tests/tests_jc2server.sh b/tests/tests_jc2server.sh index 8226d179f..8cca5ecba 100644 --- a/tests/tests_jc2server.sh +++ b/tests/tests_jc2server.sh @@ -97,7 +97,7 @@ fi pid=$(tmux list-sessions 2>&1 | awk '{print $1}' | grep -Ec "^${servicename}:") echo "PID: ${pid}" -if [ "${pid}" == "0" ]||[ "${ts3status}" != "Server is running" ]; then +if [ "${pid}" == "0" ]; then currentstatus="OFFLINE" else currentstatus="ONLINE"