Sfoglia il codice sorgente

removed ts3status if

Daniel Gibbs 10 anni fa
parent
commit
02646320cd
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      tests/tests_jc2server.sh

+ 1 - 1
tests/tests_jc2server.sh

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