From patchwork Mon Oct 16 17:29:29 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 54892 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 CF20E27BBEA; Mon, 16 Oct 2023 18:31:44 +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 1F04727BBED for ; Mon, 16 Oct 2023 18:31:41 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsRQY-0004RW-Ro; Mon, 16 Oct 2023 13:30:50 -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 1qsRQR-0004PD-I9 for guix-patches@gnu.org; Mon, 16 Oct 2023 13:30:45 -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 1qsRQP-0000n1-Td for guix-patches@gnu.org; Mon, 16 Oct 2023 13:30:43 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qsRQo-0004Ea-NN for guix-patches@gnu.org; Mon, 16 Oct 2023 13:31:06 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66499] [PATCH v2 11/39] scripts: edit: 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:31:06 +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.169747744816090 (code B ref 66499); Mon, 16 Oct 2023 17:31:06 +0000 Received: (at 66499) by debbugs.gnu.org; 16 Oct 2023 17:30:48 +0000 Received: from localhost ([127.0.0.1]:57860 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsRQV-0004BF-Nb for submit@debbugs.gnu.org; Mon, 16 Oct 2023 13:30:48 -0400 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:40374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsRQP-00047k-EW for 66499@debbugs.gnu.org; Mon, 16 Oct 2023 13:30:41 -0400 Received: by mail-wm1-x331.google.com with SMTP id 5b1f17b1804b1-4053e6e8ca7so16207715e9.1 for <66499@debbugs.gnu.org>; Mon, 16 Oct 2023 10:30:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697477411; x=1698082211; 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=3Rg16AVwt+XfqSI/++qwRz3IzeHp8u5cZFZuuWEfshc=; b=JHWZ3GkSTX8FIKDvwvqFI9dTB2Bvo3OFdYHlzenBfjhioxbOsKLdAib/WZchvJ3gZF 1PXN3ZuoPM35LCbDKbNj75W8u1ko3Uih6QlxV7T/eW12WICYpYddjjj83QajIOPkaCbO Z/+OompGPdD3D2WLfXLgdXJs5Hm9fRsCh5IJeQOkXuzy/PZeiQZZIsTivkUwVkK8AGTc fB1TNExzKi0KbdqAxpqqpeeN/N4Y1jgaFe7g6QatgA7EZjQwToVWlmp8eIyH1vLVidqn z8zkNMZWnk0iukd9trrUOkm6qyGroSYw08SVU8rpbC392CCIKikm083a+zpE4SfX/XdO h3ZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697477411; x=1698082211; 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=3Rg16AVwt+XfqSI/++qwRz3IzeHp8u5cZFZuuWEfshc=; b=sL2UDApW4DLZvlyqeNVP8m0Z7Og22J0HXIxjpp6oS6I4QbdRLFU+DRh/2B8EQxuUFB wcPY5vyeA1yMpGkK8X+QYYq6oopjILYtfJk+K36Km/0UPXNINyr2qiPX+46fu2ARxKjF EUBFqtcNvpVbBvaBr0N4J2SCoKDz1mHMt0N97/YbvmUButC3wU/lui60L63+aPbj5RhT t1I9DvFkS6Q2OJWbKLnfWPPNZZgrCIpekRLSqY+x4RTuGc35u4nc01XDRmpNaCLw+j2T 0684Uh95CdKMYRLvR60n6xq8vKve13jOtSUd/PoxBuDsb3OhLpciQ4RWTFcihnobDgsz ebPA== X-Gm-Message-State: AOJu0Yx2ZNReC9hLZh2eeG2kfk9/FRMT08Z2+v5q7ht/MB3/tZGzufnk XtYgKxsfHQj3fiqHBP5SVdgSKy1RAko= X-Google-Smtp-Source: AGHT+IE6H/Q277NlSlc4ogDzsHxQbL/s5oxH/GLVuK8lLAheBY6Hsf85ecMOAU+mhWhRvDvHZl1tXw== X-Received: by 2002:a05:600c:450f:b0:405:358c:ba75 with SMTP id t15-20020a05600c450f00b00405358cba75mr31315031wmo.0.1697477410903; Mon, 16 Oct 2023 10:30:10 -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.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:30:10 -0700 (PDT) From: Simon Tournier Date: Mon, 16 Oct 2023 19:29:29 +0200 Message-Id: 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/edit.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/edit.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/edit.scm b/guix/scripts/edit.scm index 5ce2870c5a..ff2d529bcf 100644 --- a/guix/scripts/edit.scm +++ b/guix/scripts/edit.scm @@ -37,7 +37,7 @@ (define %options %standard-build-options) (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\V "version") #f #f (lambda args