From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7E959138A1F for ; Tue, 15 Apr 2014 11:07:20 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EDDF9E0A7D; Tue, 15 Apr 2014 11:07:18 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 881E0E0A7D for ; Tue, 15 Apr 2014 11:07:18 +0000 (UTC) Received: from spoonbill.gentoo.org (spoonbill.gentoo.org [81.93.255.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7AA5C33FFF3 for ; Tue, 15 Apr 2014 11:07:17 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id BA12F18163 for ; Tue, 15 Apr 2014 11:07:15 +0000 (UTC) From: "Guy Martin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Guy Martin" Message-ID: <1397560023.d203cfd8bad7c7450d9f80d9309cfa6e066b6dc6.gmsoft@gentoo> Subject: [gentoo-commits] proj/releng:master commit in: tools/ X-VCS-Repository: proj/releng X-VCS-Files: tools/catalyst-auto X-VCS-Directories: tools/ X-VCS-Committer: gmsoft X-VCS-Committer-Name: Guy Martin X-VCS-Revision: d203cfd8bad7c7450d9f80d9309cfa6e066b6dc6 X-VCS-Branch: master Date: Tue, 15 Apr 2014 11:07:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 024da270-ef53-41b7-8582-4b5ce872d7b9 X-Archives-Hash: 97ac24c2ad5f6d9297115685420918d5 commit: d203cfd8bad7c7450d9f80d9309cfa6e066b6dc6 Author: Guy Martin gentoo org> AuthorDate: Tue Apr 15 11:07:03 2014 +0000 Commit: Guy Martin gentoo org> CommitDate: Tue Apr 15 11:07:03 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/releng.git;a=commit;h=d203cfd8 tools/catalyst-auto: Set pipefail to catch failure in verbose mode as well. --- tools/catalyst-auto | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tools/catalyst-auto b/tools/catalyst-auto index c4796a1..aa4ec1d 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -15,6 +15,9 @@ verbose=0 keep_tmpdir=0 testing=0 +# Set pipefail so that run_cmd returns the right value in $? +set -o pipefail + usage() { msg=$1