From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id UBTcN5RzLWUeFgEAauVa8A:P1 (envelope-from ) for ; Mon, 16 Oct 2023 19:32:05 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id UBTcN5RzLWUeFgEAauVa8A (envelope-from ) for ; Mon, 16 Oct 2023 19:32:05 +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 A8A3157843 for ; Mon, 16 Oct 2023 19:32:04 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cacuD2Tt; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1697477524; 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=68O4CbPvsJRe4Duv2NwZsNMM3IzMvbjVkSj8UyacI/M=; b=le3SRO56oHiUF2wyvpvZriGKHsPCVMUBUKsRAdIaPdjTa/h8ctV7cy2F/xpCxh8sKn44iC +7e4E3+1Vu7T/A5nqUQ6WDSTu+cl3ZxKwDE3QbykK1pfLf8VxpLMb0yb8XQ0ec2WZr7js4 ZK5nb/gu6UpPhSP3o8LkVfRXHA87KEitwW6fG6I8pRARh0ciZphUz+xyUo9rV0vaL1NCUw bqd2Dg8SgTgmD8R6NkzUvwm7QFHCIyhg0HD55M/9OU023G5JwHAqgKCl77fVF/BtVE7Qq0 lVpT9YE1S+VWV4tPg2mxFf3nRvftWey67pHW+1R2gWq4+V2WAygR0ZYJxICUrA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1697477524; a=rsa-sha256; cv=none; b=PjLps67MKB2qeOWJfJI0YtGKcoAXK8k4n/5fCzPiWDuqYjGdpcf/St50LiCIQL7A2yqwCY SiG+Kn+esUuyDSasnanmWIcDfBTICtxWX0QtHo5E4yu+V0t80Vt2AZzs+fHa40zQLIngO2 DJ+ZdaGqwSBYT/7mcLM5hPe3Fn9IWvpTSFon74i95830VXXJa6vnUCbeNicr0JvBPaReX/ O7eUv5XX329io3jhBJeTy3l7vpEOMnCp2mPQdZHDFiy9ZH3Veuv83q00Ux0gQi97W3Zmya mHNoUSYnWckvVvL1XHSqgVF9tOO2FuaLIlv1v4xYMH6xgIeH6USJWUlioqjU4w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20230601 header.b=cacuD2Tt; 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=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsRRQ-0004rP-DP; Mon, 16 Oct 2023 13:31:44 -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 1qsRRL-0004dY-KZ for guix-patches@gnu.org; Mon, 16 Oct 2023 13:31:39 -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 1qsRRL-0000yj-78 for guix-patches@gnu.org; Mon, 16 Oct 2023 13:31:39 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qsRRk-0004Jr-1F for guix-patches@gnu.org; Mon, 16 Oct 2023 13:32:04 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66499] [PATCH v2 19/39] scripts: lint: 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:03 +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.169747747416359 (code B ref 66499); Mon, 16 Oct 2023 17:32:03 +0000 Received: (at 66499) by debbugs.gnu.org; 16 Oct 2023 17:31:14 +0000 Received: from localhost ([127.0.0.1]:57905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsRQt-0004Fe-1M for submit@debbugs.gnu.org; Mon, 16 Oct 2023 13:31:14 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:40376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsRQT-00048U-EN for 66499@debbugs.gnu.org; Mon, 16 Oct 2023 13:30:46 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-4053e6e8ca7so16207935e9.1 for <66499@debbugs.gnu.org>; Mon, 16 Oct 2023 10:30:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697477415; x=1698082215; 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=68O4CbPvsJRe4Duv2NwZsNMM3IzMvbjVkSj8UyacI/M=; b=cacuD2Tt8UEQCzLpJIsroZgIq8XzQgg2YFcU3Al2wtgTsRIoSS7/HnlRQjBRWXsga/ k8VBrcN7nK1jwh1p2r56ObtXlt/YWhLitqWtyHfAFm51BgtOXbioOavC7f97YtapaKHJ Pk6VlKebJRi2iAD4V06kVBjE9dupETjC2uDOrAYXNuMq020l4ZFmDXlcUI5YXtKKQ2qA 8gdU8u/HIN0BXCpS25dpGV0Nklg7ykqxlsddV4wHTQmfGoSOXkkYstPRNC/mDCTGnmD8 e9GA9zMRXC1NEhaDaA0fdFGha7+SxHVeJePIQ8xoY2+FjY1+V4WHkviZ6dfK5tnGwM5e NC4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697477415; x=1698082215; 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=68O4CbPvsJRe4Duv2NwZsNMM3IzMvbjVkSj8UyacI/M=; b=JB0SoP7scmmeESBu8E+sZWxJWBhXkwrz5pJXSY7paRkNY/YSdfffRxDKdSZTKZSMhB ppaPm37Ma1M0DFU/PExKmPP8nDpU9eUpEIIdkDEx+Ze1zBrtQ8kFr3x3KTq+RTOK53pv UitR2ZATgjvxn749hnmuFxvY0kCNVFfLWJIp613qjqgRmkMxLqedtehHtPugug+ZJUhZ XbcgKRgbPAQAO3lAEM/l7nsxXJENBgY9m+ktVkxo+aytF8JJP4ieYVn4inEnPVgkiyTN gEHHYefK5Un2P5k4crqtQnRBjYW9hbj2LV3TeS2YNW1oOhP5vYjWkqMe3QHDwyXemRPB BbFg== X-Gm-Message-State: AOJu0YxVrnd3s3ln4VBiqI7c1fLK5p+LlcrovfyuNzPMoVHcgIhvqu6d 8kAi+7PwzFmTXNCVkiwG6Bys10s/Fh8= X-Google-Smtp-Source: AGHT+IHpU743nwrEBvzAIAAKWXyJpwxaaOwxI8cb0hdfe062LgW0x+m5NkBVwm4kGfAQmDlmH9vb5w== X-Received: by 2002:a05:600c:511d:b0:401:b53e:6c3e with SMTP id o29-20020a05600c511d00b00401b53e6c3emr31280741wms.1.1697477414769; Mon, 16 Oct 2023 10:30:14 -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.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:30:14 -0700 (PDT) From: Simon Tournier Date: Mon, 16 Oct 2023 19:29:37 +0200 Message-Id: <18510bf93ca7ec27203379b9ecae633759fe167c.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 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-Flow: FLOW_IN X-Migadu-Country: US X-Spam-Score: 3.33 X-Migadu-Queue-Id: A8A3157843 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: 3.33 X-TUID: 2bNt1VdebGwO * guix/scripts/lint.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/lint.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm index 9920c3ee62..ee3de51fb1 100644 --- a/guix/scripts/lint.scm +++ b/guix/scripts/lint.scm @@ -159,7 +159,7 @@ (define %options %standard-build-options) (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\l "list-checkers") #f #f (lambda (opt name arg result) -- 2.38.1