ソースを参照

added pid echo

Daniel Gibbs 10 年 前
コミット
7ef53c9bf3
1 ファイル変更1 行追加0 行削除
  1. 1 0
      tests/tests_jc2server.sh

+ 1 - 0
tests/tests_jc2server.sh

@@ -96,6 +96,7 @@ else
 fi
 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}"
 if [ "${pid}" == "0" ]||[ "${ts3status}" != "Server is running" ]; then
 if [ "${pid}" == "0" ]||[ "${ts3status}" != "Server is running" ]; then
 	currentstatus="OFFLINE"
 	currentstatus="OFFLINE"
 else
 else