diff --git a/assembly/src/release/bin/activemq b/assembly/src/release/bin/activemq index 145844c98f..c3f04f2e5f 100755 --- a/assembly/src/release/bin/activemq +++ b/assembly/src/release/bin/activemq @@ -482,7 +482,7 @@ checkRunning(){ return 2 fi local activemq_pid="`cat "$pidfile"`" - local RET="`ps -o "pid,args" | grep "^\s*$activemq_pid\s.*java"`" + local RET="`ps -eo "pid,args" | grep "^\s*$activemq_pid\s.*java"`" if [ -n "$RET" ];then return 0; else