This is an automated email from the ASF dual-hosted git repository.

wangxin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new 5916e8b  fixed start.sh #1879 (#1900)
5916e8b is described below

commit 5916e8b1e853c74ed9d2b832f170756b35f478fb
Author: AfeiJavaer <404961...@qq.com>
AuthorDate: Thu Jun 7 19:30:58 2018 +0800

    fixed start.sh #1879 (#1900)
---
 .../src/main/resources/META-INF/assembly/bin/start.sh                 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/start.sh
 
b/dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/start.sh
index 3b491f0..4cddcd0 100755
--- 
a/dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/start.sh
+++ 
b/dubbo-container/dubbo-container-api/src/main/resources/META-INF/assembly/bin/start.sh
@@ -79,7 +79,7 @@ while [ $COUNT -lt 1 ]; do
             COUNT=`netstat -an | grep $SERVER_PORT | wc -l`
         fi
     else
-       COUNT=`ps -f | grep java | grep -v grep | grep "$DEPLOY_DIR" | awk 
'{print $2}' | wc -l`
+       COUNT=`ps -ef | grep java | grep -v grep | grep "$DEPLOY_DIR" | awk 
'{print $2}' | wc -l`
     fi
     if [ $COUNT -gt 0 ]; then
         break
@@ -87,6 +87,6 @@ while [ $COUNT -lt 1 ]; do
 done
 
 echo "OK!"
-PIDS=`ps -f | grep java | grep -v grep | grep "$DEPLOY_DIR" | awk '{print $2}'`
+PIDS=`ps -ef | grep java | grep -v grep | grep "$DEPLOY_DIR" | awk '{print 
$2}'`
 echo "PID: $PIDS"
 echo "STDOUT: $STDOUT_FILE"

-- 
To stop receiving notification emails like this one, please contact
wang...@apache.org.

Reply via email to