From patchwork Mon Oct 16 17:29:57 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Simon Tournier X-Patchwork-Id: 54909 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 4C07727BBEB; Mon, 16 Oct 2023 18:33:16 +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=ham 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 0ACC627BBE2 for ; Mon, 16 Oct 2023 18:33:16 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qsRRm-0005Hy-2W; Mon, 16 Oct 2023 13:32:06 -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 1qsRRT-0004yN-KP for guix-patches@gnu.org; Mon, 16 Oct 2023 13:31:47 -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 1qsRRT-000166-AZ for guix-patches@gnu.org; Mon, 16 Oct 2023 13:31:47 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qsRRs-0004MG-6Q for guix-patches@gnu.org; Mon, 16 Oct 2023 13:32:12 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#66499] [PATCH v2 39/39] scripts: weather: 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:12 +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.169747748116507 (code B ref 66499); Mon, 16 Oct 2023 17:32:12 +0000 Received: (at 66499) by debbugs.gnu.org; 16 Oct 2023 17:31:21 +0000 Received: from localhost ([127.0.0.1]:57945 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsRR3-0004I6-C1 for submit@debbugs.gnu.org; Mon, 16 Oct 2023 13:31:21 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]:39987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qsRQd-0004C8-Hl for 66499@debbugs.gnu.org; Mon, 16 Oct 2023 13:30:55 -0400 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-406aaccb41dso16214245e9.0 for <66499@debbugs.gnu.org>; Mon, 16 Oct 2023 10:30:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1697477425; x=1698082225; 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=nbXhH5euk+n8kxgUOvCrqRqA4z9f3RUX0una2ZnCKU4=; b=BsUTB1EDfH0Sy0JfdlKndkxodBXuAzqS2LGspz+Kqv2FVbP+ibj4YZ1MBQeww4Z0Tv wBq64vQHl8LH4i17pwK6IjGjlpFJ5xOWw4IIfj8/aBGHNoGXgSVe+/g3qwYwDXlKlvgQ aIx/SI264Bg1nPqnUsA/Spzdc3SbQO2cpEjpc4T1k4IFU3qExA1ZfHeK4YtAcqMPg66i 8cKb4141ukP7lKPX/H5UPh2lTe94WbsFRA2OWR73c7DH+EyRjujSHQIeITvTUOkiI4VB yC4ARHD65jo6OKmCSGzNJIX7yokftrsz1GdkAvdWEJ2ud5VWfHWU3kxAfmBCgJtUvUV1 OTEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697477425; x=1698082225; 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=nbXhH5euk+n8kxgUOvCrqRqA4z9f3RUX0una2ZnCKU4=; b=wNofD6Vwg9dYYfwLUBmBgF6feGjc2N0LVRUn3D5JdFpwOIeE6tRgu2jOpBZj3DL/8S XaYDgXpBqEOxrZX3AHSYOON/0T5HLIYcuBRyaI05DTjYJfavMiiFg4FtINjnKn8xMDAe bv5syAiEe37kajwq/bBAkOZfTP7qJ58c4lPiG8OObeil9TkE1E5knjz6iZaLeZpdKKtS ghTrp3S+96l2zshvZMYFtThDZsRYMRS/bEEL5l4r1ZAAFJ/fGV/JVMfI1AWzDycYdVTJ Su93PaLCY5QFbOAlWOplLEh716qW39qIrolmawfxHXHm9QEmAfBUOLebXGVVxwinbeSk yFFg== X-Gm-Message-State: AOJu0Yxv4vVauce82OiZHwt/q1OhIIOFg7NkHmoD5rYqaVZjOUfmd8Uf nFt6DzOycEhWNI7S5LlSe9a5XX3g698= X-Google-Smtp-Source: AGHT+IFTR1tdki2ZeVdqnFHETjvhJI2jUDY37onaWvwrfpw45tkrOlkjXz/dOIdxkKi3DJYX0GIDGw== X-Received: by 2002:a05:600c:474b:b0:401:c07f:72bd with SMTP id w11-20020a05600c474b00b00401c07f72bdmr31223800wmo.4.1697477424969; Mon, 16 Oct 2023 10:30:24 -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.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 10:30:24 -0700 (PDT) From: Simon Tournier Date: Mon, 16 Oct 2023 19:29:57 +0200 Message-Id: <224f7b82fb52a9ec0b90e4c47e37648ce64120a4.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/weather.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/weather.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/weather.scm b/guix/scripts/weather.scm index dc27f81984..140df3435f 100644 --- a/guix/scripts/weather.scm +++ b/guix/scripts/weather.scm @@ -360,7 +360,7 @@ (define (show-help) (define %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