[AMQ-8425] Get process from any user in bin/activemq script

This commit is contained in:
Jean-Baptiste Onofré 2021-12-23 06:45:00 +01:00
parent ff134fd135
commit c246e0926c
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