From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id uC+3H8D7mWOGDgAAbAwnHQ (envelope-from ) for ; Wed, 14 Dec 2022 17:37:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IA2zH8D7mWPiSgEA9RJhRA (envelope-from ) for ; Wed, 14 Dec 2022 17:37:20 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2C3563A596 for ; Wed, 14 Dec 2022 17:37:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5Ukl-0001S6-34; Wed, 14 Dec 2022 11:37:07 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5Ukg-0001RV-22 for guix-patches@gnu.org; Wed, 14 Dec 2022 11:37:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5Ukf-0006JU-QU for guix-patches@gnu.org; Wed, 14 Dec 2022 11:37:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p5Ukf-00050p-MT for guix-patches@gnu.org; Wed, 14 Dec 2022 11:37:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#60069] [PATCH 2/2] guix-install.sh: Directly exit in case of errors in chk_require. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 14 Dec 2022 16:37:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60069 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Maxim Cournoyer Cc: 60069@debbugs.gnu.org X-Debbugs-Original-Cc: 60069@debbugs.gnu.org, guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167103581319261 (code B ref -1); Wed, 14 Dec 2022 16:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 14 Dec 2022 16:36:53 +0000 Received: from localhost ([127.0.0.1]:40260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5UkX-00050b-B0 for submit@debbugs.gnu.org; Wed, 14 Dec 2022 11:36:53 -0500 Received: from lists.gnu.org ([209.51.188.17]:58238) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p5UkS-00050O-8D for submit@debbugs.gnu.org; Wed, 14 Dec 2022 11:36:48 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5UkR-0001JY-Ba for guix-patches@gnu.org; Wed, 14 Dec 2022 11:36:48 -0500 Received: from tobias.gr ([2a02:c205:2020:6054::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5UkP-0006EP-Ft for guix-patches@gnu.org; Wed, 14 Dec 2022 11:36:47 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=HQWdtX9z4rVL9 4fA4/3z189dhAr7Swfr5EOHsgR9Ykg=; h=in-reply-to:date:subject:cc:to: from:references; d=tobias.gr; b=kFkeeUlSn2xtEB1SxFpG0iYtdG3MDeAsDw0QRn vsp5E4N4hHfnUceXYurzrSmrU/BTsy2hzWtChCYEh4smppEkDnaN+rpfHnvUC+EFGu/IzS fbddBpkLbYkVfYSg0LNCxFuc8RWu+GdROA6WnSv0tD2MnWqiI2CNyO7oj6SyG35WbMZEJE 8VoU3DkT6XqS4xRWNZvR5nr7IaqqI1rpRL/RCNbQEzYklXmUCFw776i0NHhnLIUqv7ELuL sY0yt+mwlZgdVlF52ZBrTQ6uajX8GaG9uiJXzUk6z/Wluio2cuZBSwBlZK8zsldLPeCFHC YzlBeIbdWZsU7eoQBFrrindA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id e9f87e7c (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 14 Dec 2022 16:36:41 +0000 (UTC) References: <20221214155603.29381-1-maxim.cournoyer@gmail.com> <20221214155603.29381-2-maxim.cournoyer@gmail.com> Date: Wed, 14 Dec 2022 17:37:19 +0100 In-reply-to: <20221214155603.29381-2-maxim.cournoyer@gmail.com> BIMI-Selector: v=BIMI1; s=default; Message-ID: <871qp2c54w.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches From: Tobias Geerinckx-Rice via Guix-patches via Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1671035840; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=HQWdtX9z4rVL94fA4/3z189dhAr7Swfr5EOHsgR9Ykg=; b=XWtM+QAeytVpOc8hQiK5H97284U5dTuPpwAN6FkbW67o54/khVQBrsZpcZ/OgVem7lea43 hoz9tsyLud8Ihjbn4mqa+ojLTdBpyz9wjifLax1ay1AVcDacz28nyThwPIp0bV0U3EhJEz GtAhH1DJiMJSecoP4dFKWZ6JWIsMWdmmHEWLsobn7Ssr8qZEBCVfbgwcK0HiejJ8Y7ki29 ie5z3Nb7c5hM7zLCQusG7wws1zzKqKr5kcI9COsH/CLqXYJo/bTlxDvLulBILQnbsWjXh7 PFXYejP+c0BQlq7Z3jVMJSj2b+hTtovQ5LEi/Jfxej6GpUuw+52KrnIC5zrhBw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=kFkeeUlS; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org ARC-Seal: i=1; s=key1; d=yhetil.org; t=1671035840; a=rsa-sha256; cv=none; b=U3qtRdHiUWlmOnUssaxtn8AEbJUtV6UjVo/a7O+ydWcSc1UryI07/ILdddhMOCoS8n7Jt+ SZGuU5TxlprgY9/FS3JCxj6fPzzYQyrHS/SMYKWLrA11fz7UhztqIuM+dW/zQ0t/uOEiKD gzgAZB6ru50sY+ZqUNVBexMZ+TQn3lu2iwEvyRgYaucXAOO9bvRTkkuyl8s29ZcKT30GZ9 jIXeH5LozLT3aeAYclWyE+AIX656XNYDN0ToCD1492mOEZIKzOdPRXEdOtRTKQiLQfeqjC lfjqIDkWxND10+xUjJRUTk1dhaaraxtXp9rn9V47xcqOxOqa4qxdylMTwGD4Tw== X-Migadu-Spam-Score: -5.27 X-Spam-Score: -5.27 X-Migadu-Queue-Id: 2C3563A596 X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=tobias.gr header.s=2018 header.b=kFkeeUlS; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gnu.org X-TUID: DvEHaSpsIoJn --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Maxim Cournoyer =E5=86=99=E9=81=93=EF=BC=9A > - [ "${#warn}" -ne 0 ] && > - { _err "${ERR}Missing commands: ${warn[*]}."; > - return 1; } > -=20=20=20=20 > + [ "${#warn}" -ne 0 ] && die "Missing commands: ${warn[*]}." > + I did not run this, but will it not itself trigger -e when the=20 test is false? Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCY5n7/w0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW153VEBAMZc1COX05j1JvkESrO5nlRi50eA3a+azXu7O3HW KAJoAQDMJihIBA5fp84NNcckxHto8PMi+dC9sXNcDFCU23NzAg== =1EgH -----END PGP SIGNATURE----- --=-=-=--