jbertram commented on code in PR #4801:
URL: https://github.com/apache/activemq-artemis/pull/4801#discussion_r1476928352
##########
artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis-service:
##########
@@ -61,7 +61,7 @@ status() {
pid=`cat "${PID_FILE}"`
# check to see if it's gone...
ps -p ${pid} > /dev/null
- if [ $? -eq 0 ] ; then
+ if [ $? -eq 0 ] && [ "`pwdx ${pid} | awk '{print $2}'`" ==
"$ARTEMIS_INSTANCE" ]; then
Review Comment:
Unfortunately it's still broken. I still get the same error as before.
You're using `==` when I believe you should be using `=`.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]