You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by jb...@apache.org on 2024/02/06 17:20:34 UTC
(activemq-artemis) 01/02: Revert "ARTEMIS-4630 Fix a typo in earlier commit 7ac6f4e99cc8349b378b4ae9d9ecc0970ac5b2b4"
This is an automated email from the ASF dual-hosted git repository.
jbertram pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
commit 968ef74cd7104cf0f906d268f18723be2df1ab0b
Author: Justin Bertram <jb...@apache.org>
AuthorDate: Tue Feb 6 11:02:45 2024 -0600
Revert "ARTEMIS-4630 Fix a typo in earlier commit 7ac6f4e99cc8349b378b4ae9d9ecc0970ac5b2b4"
This reverts commit 306b192e80e0477c837e2dbfcefe555b2bfafe51.
---
.../org/apache/activemq/artemis/cli/commands/bin/artemis-service | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis-service b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis-service
index dd15a347ae..e412647374 100755
--- a/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis-service
+++ b/artemis-cli/src/main/resources/org/apache/activemq/artemis/cli/commands/bin/artemis-service
@@ -62,7 +62,7 @@ status() {
pid_workdir=$ARTEMIS_INSTANCE
if [ `command -v lsof &> /dev/null` ]; then
pid_workdir="`lsof -a -d cwd -p ${pid} | awk '{print $9}' | tail -1`"
- fi
+ if
# check to see if it's gone...
ps -p ${pid} > /dev/null
if [ $? -eq 0 ] && [ "$pid_workdir" = "$ARTEMIS_INSTANCE" ]; then