From dd647f98a50b30427ca8160245fcff437cbd0080 Mon Sep 17 00:00:00 2001 From: Marc Schoechlin Date: Sun, 4 Jan 2015 12:59:31 +0100 Subject: [PATCH] provide the real exitcodes provide the exitcode of the task to the user --- assembly/src/release/bin/activemq | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/assembly/src/release/bin/activemq b/assembly/src/release/bin/activemq index ad30641709..ca556d1039 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