From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id qElLCa1zLWVIJQEA9RJhRA:P1 (envelope-from ) for ; Mon, 16 Oct 2023 19:32:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:4789::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id qElLCa1zLWVIJQEA9RJhRA (envelope-from ) for ; Mon, 16 Oct 2023 19:32:29 +0200 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 DE5C43F80D for ; Mon, 16 Oct 2023 19:32:28 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="k//NMOht"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697477548; a=rsa-sha256; cv=none; b=d7o2LoDycihp87UZeQhUvRRnoOkeTZJV8tSWg0BizE+dtGSyH36Oyigs/iC7QWBEsAuxyP onkDtb3DoHLrSuGLAe7rUA6PSVn4L7WfJtCNLm9EUWZ6JWfQypkRLOUrd6dvsleqXom6G1 DkTyX6HIARrvy68qy9To4kGjjB3w6tQGNa852uK1iU6/Jw6PKw+kBW6sWtGH/EWqFO7YyR iF1010hYUPjzb+HF918bn8skXizLz/GMJMku/f5coQMyp7Q/R98Keqp8b10U3qvL0mQ8dl mGiAOqrnLDaVHh/OZEvjrQ9wC4G8PjLsIf9Qs2LyP5mzAQEAhgEi9/6jtGiDHg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b="k//NMOht"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697477548; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: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=KE+ARz3Fosp4jyGNbw1Q7W0IEA/uQesJ0PLj2XY1D3U=; b=OdeBYGMtpY64FO7BRk3aiuTJ7pHFbKhTGEokteyRPKFFUrCS6BVfOxFDCi4s4MSUPrHIN2 t2q+mZkbVjQzEf7bBKoEPBsIrpk1PX1ptqVvRIU7i5ZDVbri1iAfTOStc8s8h5dJ5JR5YE gbLpHUsvr+HKHm09tQ1mY90Bv4gSgJ6DNdM7gVcqdJ2pU6hRiIhCSRIQ4qPxHSrNl6CL7u tByEdMPnQyOMm0FDEJNxTjV543i7c5JRPuFZuc2Pp5FaalT3k45L9nBWTJQUFHaKe8eRRQ RT106luCczO3mteQPCU+IzIG4TmgANyUc8nyt/CKkn+g+MGTvGX70sgK8Ki4gw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsRRS-0004xH-H8; Mon, 16 Oct 2023 13:31:46 -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 1qsRRQ-0004sO-Aj for guix-patches@gnu.org; Mon, 16 Oct 2023 13:31:44 -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 1qsRRQ-00013h-2Y for guix-patches@gnu.org; Mon, 16 Oct 2023 13:31:44 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qsRRo-0004LJ-Ty for guix-patches@gnu.org; Mon, 16 Oct 2023 13:32:08 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66499] [PATCH v2 31/39] scripts: shell: 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:08 +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.169747747916450 (code B ref 66499); Mon, 16 Oct 2023 17:32:08 +0000 Received: (at 66499) by debbugs.gnu.org; 16 Oct 2023 17:31:19 +0000 Received: from localhost ([127.0.0.1]:57929 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsRR0-0004H9-IA for submit@debbugs.gnu.org; Mon, 16 Oct 2023 13:31:18 -0400 Received: from mail-wm1-x330.google.com ([2a00:1450:4864:20::330]:39984) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsRQZ-0004Aa-CM for 66499@debbugs.gnu.org; Mon, 16 Oct 2023 13:30:51 -0400 Received: by mail-wm1-x330.google.com with SMTP id 5b1f17b1804b1-406aaccb41dso16214115e9.0 for <66499@debbugs.gnu.org>; Mon, 16 Oct 2023 10:30:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697477421; x=1698082221; 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=KE+ARz3Fosp4jyGNbw1Q7W0IEA/uQesJ0PLj2XY1D3U=; b=k//NMOhtvgqnktQYRrQ1PqBIKqx7r5Ip/hPn+eEBUshingWRlnqYOhryCzVp9JGQns DQMBliQUT2V6pACvXswJl7hZJkr3TUOmeF+Xl2dXO76RKWOZ/AElFJFeCQHCMkzijs7l F87rU01l6AL0SR2aIBTjJGDZsVFvuiaDghbTMMiqTCs1fdpgIYpx1SK+9IyJ1itclKDx FZ8PPCncxceF8Y8IjtTsEpCXr6Cq1RgxPt4X7pR1bK+pEe8amIPPbAvJLl50wbEvvUp9 7Lk/EpPp4baRPEItImHpw4h2dC0jWks2j4meyuwgEOmIPcUNv0j8LnvONM9opLEvy5i/ 5ysw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697477421; x=1698082221; 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=KE+ARz3Fosp4jyGNbw1Q7W0IEA/uQesJ0PLj2XY1D3U=; b=VpDt9+84iJUa0vVCsya0UB0PkO7obyCpcVXzBS2HIIkWPGAy3Qi4SpsZe2UW8c3vLM FTSM6n8u5YBEKx/CU49BFevHI5n9dCvU6FyzcHxN87hnaSjj9mrNJSd92U+Cc5oIAQzR tMq66WZ59xaza6XPJHhORVfQkc0tTV8QGaF2UspAw8289em/SVWBYFKw6EXy9KC7qtfK N82bXu8H/IPM0Ts6vMq0s69rjIRRoapf/WWaeg+sC5w1De4X5D3JSLUWodN9JpW0B/4i oqUkso7ZHnXWwPU/HCCi+2ZXSdKrZpUCH4o7hcCxVLjmodugC7jYtL4gRrNA0DMDqV8F kiAg== X-Gm-Message-State: AOJu0YwISozcY+G3eAIT1QQa79zyDEoUWXJ0HZNwFN0lNh8aZhJHIrhu ZWpBArgMWbWqUqtKzekQRyPkmEC3AhM= X-Google-Smtp-Source: AGHT+IFm181hoCaZc5fZgPpTJoFmWKn6Pd0fZSNuS8j9zA9Zr7g+MJiwH0NiIqseHcjxu6esbL42pw== X-Received: by 2002:a05:600c:3ca1:b0:405:3cc1:e115 with SMTP id bg33-20020a05600c3ca100b004053cc1e115mr31245441wmb.3.1697477420699; Mon, 16 Oct 2023 10:30:20 -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.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:30:20 -0700 (PDT) From: Simon Tournier Date: Mon, 16 Oct 2023 19:29:49 +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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx1.migadu.com X-Migadu-Spam-Score: 3.32 X-Spam-Score: 3.32 X-Migadu-Queue-Id: DE5C43F80D X-TUID: mnPA0kdHmnYZ * guix/scripts/shell.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/shell.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/shell.scm b/guix/scripts/shell.scm index 898c355316..10ea110fee 100644 --- a/guix/scripts/shell.scm +++ b/guix/scripts/shell.scm @@ -116,7 +116,7 @@ (define %options (append (list (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\V "version") #f #f (lambda args -- 2.38.1