From: Ian Campbell Subject: [PATCH OSSTEST v5 17/24] standalone: propagate result of command from with_logging Date: Wed, 15 Apr 2015 11:35:42 +0100 Message-ID: <1429094149-6849-17-git-send-email-ian.campbell@citrix.com> References: <1429094135.15516.187.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1429094135.15516.187.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: ian.jackson@eu.citrix.com Cc: Ian Campbell , xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Such that the overall script gets the return code of the test/job which was run. Signed-off-by: Ian Campbell --- standalone | 1 + 1 file changed, 1 insertion(+) diff --git a/standalone b/standalone index d8113e4..4564cf4 100755 --- a/standalone +++ b/standalone @@ -159,6 +159,7 @@ with_logging() { if [ $rc -ne 0 ] ; then echo "FAILED rc=${rc}" >&2 fi + return $rc } # other potential ops: -- 2.1.4