From patchwork Mon Oct 16 17:29:46 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 54903 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 02EEE27BBE9; Mon, 16 Oct 2023 18:32:38 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI, SPF_HELO_PASS autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E4F3927BBE2 for ; Mon, 16 Oct 2023 18:32:32 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsRRV-00050q-2X; Mon, 16 Oct 2023 13:31:49 -0400 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 1qsRRP-0004r1-2E for guix-patches@gnu.org; Mon, 16 Oct 2023 13:31:43 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qsRRO-00012z-QG for guix-patches@gnu.org; Mon, 16 Oct 2023 13:31:42 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qsRRn-0004Kw-Lb for guix-patches@gnu.org; Mon, 16 Oct 2023 13:32:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66499] [PATCH v2 28/39] scripts: remove: Handle EPIPE errors when displaying help. Resent-From: Simon Tournier Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 16 Oct 2023 17:32:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66499 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 66499@debbugs.gnu.org Cc: othacehe@gnu.org, Simon Tournier Received: via spool by 66499-submit@debbugs.gnu.org id=B66499.169747747816428 (code B ref 66499); Mon, 16 Oct 2023 17:32:07 +0000 Received: (at 66499) by debbugs.gnu.org; 16 Oct 2023 17:31:18 +0000 Received: from localhost ([127.0.0.1]:57923 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsRQz-0004Gn-Hh for submit@debbugs.gnu.org; Mon, 16 Oct 2023 13:31:17 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:38339) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsRQX-00049q-JT for 66499@debbugs.gnu.org; Mon, 16 Oct 2023 13:30:50 -0400 Received: by mail-wm1-x332.google.com with SMTP id 5b1f17b1804b1-4064e3c7c07so10271145e9.1 for <66499@debbugs.gnu.org>; Mon, 16 Oct 2023 10:30:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697477419; x=1698082219; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=u4VPECFfVP6nnyEM70US0p+acgfOKWgdS5zf+U8yL+8=; b=W83pxL9rHJHPCl/rM5SP4l22bZY1BMaq1K9AK2yn76NqZYGV9OQkiWKIIDuTMVU1sR 5tRHSCodcccuyk1NZokaS93BiGhjbUwcOjnFTdD1xQt8UsO8nOEvislOD00AMIVxat5T fNM+IOP2Xa7UIetiHU7XDZ/I2kUEaDL/qv8gxaKO4SdSiJ/ZC+IQpZmlXtFGy0VkP5y9 mJLP1Ql613wfSq4jCSp3jl417JBFCBVsDQxxAZP8/yDgr3VxBbSSWeK02K3/Ben25Dbb eC0d62/ltIzA2EnKk3MoIXhu0b6CeJI3Z+6gRSZ3Lx6R+C4vSMbKsIwl3HGdgyWy7GaD wL0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697477419; x=1698082219; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=u4VPECFfVP6nnyEM70US0p+acgfOKWgdS5zf+U8yL+8=; b=ee8KOWQC9v21KCz3c7+HajNBO9yNYO1XPjTrwXqkB49v7ShSyTvyqXcF59arO6OYyl M7KQRL8C7OJDk+k1s7Tx8OEYzZNNxy7DKkqAqngyerf8sx4vvWAZDX60DHHnVzcgXJbh odqBoZETe9ehlkZdpUfAQ0mdj8qv6qCHHb5N/J4M06acxOrpfxXehwdKTPgCzghuLZoK QhRfivmM9kgjFKPoDoMY+ubOpCdTeHQkp+4mncPE7Wi0NOpNKgj1xMaUNLfKdRxxAvu4 AyQ+LDn22maV7aJz6/aY2JS1z8PPOUkJQ3UmPJ6FDgTEt5EjpMGrxakmW1poGE9cuOjN 65eA== X-Gm-Message-State: AOJu0Ywq6WJdqRqUT3o0xRDq1ML5+ozWxjqPLkjR2U8UpX+sFZuLgrEl cWIwXBBb4NDZr7s9dd+c3zHvlhfDgOc= X-Google-Smtp-Source: AGHT+IF9bjCxE+wuFIA5q6TEZUmO7FTkQxd3Fn8GOWLWjKFUB4z4bRBVDsg5ofe/VubrULoaMPDWDQ== X-Received: by 2002:a7b:cc99:0:b0:401:7d3b:cc84 with SMTP id p25-20020a7bcc99000000b004017d3bcc84mr30677849wma.0.1697477418956; Mon, 16 Oct 2023 10:30:18 -0700 (PDT) Received: from localhost.localdomain ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id g15-20020a05600c310f00b003fefaf299b6sm7674818wmo.38.2023.10.16.10.30.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:30:18 -0700 (PDT) From: Simon Tournier Date: Mon, 16 Oct 2023 19:29:46 +0200 Message-Id: <075889d587fef4873997d26c4c5e733355254f74.1697475790.git.zimon.toutoune@gmail.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <29fe44a94b28a6e9f1fc6cb12b6180ab1c4bdcb1.1697475790.git.zimon.toutoune@gmail.com> References: <29fe44a94b28a6e9f1fc6cb12b6180ab1c4bdcb1.1697475790.git.zimon.toutoune@gmail.com> MIME-Version: 1.0 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: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * guix/scripts/remove.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/remove.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/remove.scm b/guix/scripts/remove.scm index a46ad04d56..be073878c5 100644 --- a/guix/scripts/remove.scm +++ b/guix/scripts/remove.scm @@ -49,7 +49,7 @@ (define %options ;; Specification of the command-line options. (cons* (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\V "version") #f #f (lambda args