Browse Source

removed ts3status if

pull/528/head
Daniel Gibbs 10 years ago
parent
commit
02646320cd
  1. 2
      tests/tests_jc2server.sh

2
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"

Loading…
Cancel
Save