From 16779c84284c3a1f3f19dea657eacf5d4fdda904 Mon Sep 17 00:00:00 2001 From: pan <1029559041@qq.com> Date: Sun, 11 Oct 2020 18:19:19 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E6=97=B6=E5=8C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/checkPort | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell/checkPort b/shell/checkPort index 82bfe73..221e4d7 100644 --- a/shell/checkPort +++ b/shell/checkPort @@ -18,6 +18,7 @@ function test(){ else foo "server status:start" fi + if [ -z "`/app/findPortPid $clientPort`" ] then foo "client status:stop" @@ -25,6 +26,7 @@ function test(){ else foo "server status:start" fi + if [ $check -eq 0 ] then foo "server and client is running"