From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH] build: container: Fix call-with-clean-exit. Date: Fri, 09 Oct 2015 23:59:22 +0200 Message-ID: <87pp0n4sat.fsf@gnu.org> References: <87a8rrrdoa.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33816) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZkfhJ-0002hE-O0 for guix-devel@gnu.org; Fri, 09 Oct 2015 17:59:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZkfhF-0002MW-8k for guix-devel@gnu.org; Fri, 09 Oct 2015 17:59:29 -0400 In-Reply-To: <87a8rrrdoa.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> (David Thompson's message of "Fri, 09 Oct 2015 16:26:45 -0400") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: David Thompson Cc: guix-devel@gnu.org David Thompson skribis: > From dc72ee831d6c6b93cf404a7fd1abc4b8fb27b7f2 Mon Sep 17 00:00:00 2001 > From: David Thompson > Date: Fri, 9 Oct 2015 12:33:40 -0400 > Subject: [PATCH] build: container: Fix call-with-clean-exit. > > Before, call-with-clean-exit would *always* return an exit code of 1. > > * gnu/build/linux-container.scm (call-with-clean-exit): Exit with status > code of 0 if thunk does not throw an exception. > * tests/containers.scm: Add test. LGTM, thanks. Ludo=E2=80=99.