Merge pull request #739 from jbonofre/AMQ-8425

[AMQ-8425] Get process from any user in bin/activemq script
This commit is contained in:
Jean-Baptiste Onofré 2022-01-15 06:43:08 +01:00 committed by GitHub
commit ba98a39cef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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