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"