activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschoech...@apache.org
Subject [04/12] activemq git commit: provide the real exitcodes
Date Mon, 29 Jun 2015 21:26:21 GMT
provide the real exitcodes

provide the exitcode of the task to the user


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/dd647f98
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/dd647f98
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/dd647f98

Branch: refs/heads/master
Commit: dd647f98a50b30427ca8160245fcff437cbd0080
Parents: ea5f4de
Author: Marc Schoechlin <marc.schoechlin@breuninger.de>
Authored: Sun Jan 4 12:59:31 2015 +0100
Committer: Marc Schoechlin <marc.schoechlin@breuninger.de>
Committed: Sat Jun 6 15:21:51 2015 +0200

----------------------------------------------------------------------
 assembly/src/release/bin/activemq | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/dd647f98/assembly/src/release/bin/activemq
----------------------------------------------------------------------
diff --git a/assembly/src/release/bin/activemq b/assembly/src/release/bin/activemq
index ad30641..ca556d1 100755
--- a/assembly/src/release/bin/activemq
+++ b/assembly/src/release/bin/activemq
@@ -589,10 +589,12 @@ case "$1" in
     ;;
   console)
     invoke_console
+    exit $?
     ;;
   stop)
     invoke_stop
     ;;
   *)
-    invoke_task
+    invoke_task checkforrunning
+    exit $?
 esac


Mime
View raw message