Return-Path: X-Original-To: apmail-activemq-commits-archive@www.apache.org Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DB51317B63 for ; Mon, 29 Jun 2015 21:28:20 +0000 (UTC) Received: (qmail 26518 invoked by uid 500); 29 Jun 2015 21:26:24 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 26476 invoked by uid 500); 29 Jun 2015 21:26:23 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 26402 invoked by uid 99); 29 Jun 2015 21:26:23 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 29 Jun 2015 21:26:23 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 4DDB8E360C; Mon, 29 Jun 2015 21:26:18 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mschoechlin@apache.org To: commits@activemq.apache.org Date: Mon, 29 Jun 2015 21:26:21 -0000 Message-Id: <7a5039ad53de4383b1df20c7ef63788e@git.apache.org> In-Reply-To: <235123cae30b48778f8c25ad4be6cd37@git.apache.org> References: <235123cae30b48778f8c25ad4be6cd37@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [04/12] activemq git commit: provide the real exitcodes 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 Authored: Sun Jan 4 12:59:31 2015 +0100 Committer: Marc Schoechlin 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