From: Ian Campbell Subject: [PATCH OSSTEST v4 17/25] standalone: propagate result of command from with_logging Date: Thu, 2 Apr 2015 10:16:31 +0100 Message-ID: <1427966199-5064-17-git-send-email-ian.campbell@citrix.com> References: <1427966183.4037.17.camel@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1427966183.4037.17.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 caf3fd5..3189e84 100755 --- a/standalone +++ b/standalone @@ -156,6 +156,7 @@ with_logging() { if [ $rc -ne 0 ] ; then echo "FAILED rc=${rc}" >&2 fi + return $rc } # other potential ops: -- 2.1.4