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 466FC138247 for ; Wed, 22 Jan 2014 10:11:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DC73AE0F43; Wed, 22 Jan 2014 10:11:42 +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 6C5A0E0F43 for ; Wed, 22 Jan 2014 10:11:42 +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 57A5B33FA8C for ; Wed, 22 Jan 2014 10:11:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by spoonbill.gentoo.org (Postfix) with ESMTP id 12564183B3 for ; Wed, 22 Jan 2014 10:11:40 +0000 (UTC) From: "Reinis Danne" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Reinis Danne" Message-ID: <1390385425.4d753604688488a81c75352f6ea409f36d8446e2.rei4dan@gentoo> Subject: [gentoo-commits] proj/sci:master commit in: eclass/ X-VCS-Repository: proj/sci X-VCS-Files: eclass/alternatives-2.eclass X-VCS-Directories: eclass/ X-VCS-Committer: rei4dan X-VCS-Committer-Name: Reinis Danne X-VCS-Revision: 4d753604688488a81c75352f6ea409f36d8446e2 X-VCS-Branch: master Date: Wed, 22 Jan 2014 10:11:40 +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: 2c6f2b88-41ac-499d-8a25-293d89cc2b2a X-Archives-Hash: e8038eb882231ae90b472facc8ff0a19 commit: 4d753604688488a81c75352f6ea409f36d8446e2 Author: Reinis Danne gmail com> AuthorDate: Wed Jan 22 10:10:25 2014 +0000 Commit: Reinis Danne gmail com> CommitDate: Wed Jan 22 10:10:25 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=4d753604 alternatives-2.eclass: Use saved exit status --- eclass/alternatives-2.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/alternatives-2.eclass b/eclass/alternatives-2.eclass index 42150c0..de1d317 100644 --- a/eclass/alternatives-2.eclass +++ b/eclass/alternatives-2.eclass @@ -220,7 +220,7 @@ alternatives-2_pkg_prerm() { eerror "rm ${EAUTO}/${alt}.eselect failed" ;; *) - eerror "eselect ${alt} update ${provider} returned $?" + eerror "eselect ${alt} update ${provider} returned ${ret}" ;; esac done