From mboxrd@z Thu Jan 1 00:00:00 1970 From: Danny Milosavljevic Subject: Re: weird errors Date: Mon, 22 Jan 2018 11:59:08 +0100 Message-ID: <20180122115908.588a1d06@scratchpost.org> References: <87a7xhmpht.fsf@gnu.org> <20180114114346.78977872@scratchpost.org> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:57654) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edZor-0001LB-D0 for guix-devel@gnu.org; Mon, 22 Jan 2018 05:59:18 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edZoo-00031y-9I for guix-devel@gnu.org; Mon, 22 Jan 2018 05:59:17 -0500 In-Reply-To: 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" To: Catonano Cc: guix-devel > isn't invoke returning an exact integer ? No. "invoke" raises an exception if the child's exit code != 0. Otherwise you get #t. "system*" returns the exit code - might want to use that instead. (just replace the text "invoke" by "system*") > Maybe tryton-admin insn't seeing the env var and promtping to ask for its > interaction ? > > > How am I supposed to use setenv, exactly ? Looks fine to me. Just exit with (primitive-exit 0) in the end :)