Subject: bug#66499: closed (Re: [bug#66499] [PATCH] ui: Handle EPIPE errors when displaying Guix version.)

From: [email-masked] (GNU bug Tracking System)
Date: Tue, 17 Oct 2023 12:59:02 +0000

Your bug report

#66499: [PATCH] ui: Handle EPIPE errors when displaying Guix version.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
66499: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66499
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#66499] [PATCH] ui: Handle EPIPE errors when displaying Guix version.
From: Simon Tournier <[email-masked]>
To: Mathieu Othacehe <[email-masked]>
Cc: Josselin Poiret <[email-masked]>, [email-masked],Ludovic Courtès <[email-masked]>, Tobias Geerinckx-Rice <[email-masked]>,Clément Lassieur <[email-masked]>, Ricardo Wurmus <[email-masked]>, Christopher Baines <[email-masked]>
Date: Tue, 17 Oct 2023 14:57:27 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hi,

On Tue, 17 Oct 2023 at 11:48, Mathieu Othacehe <[email-masked]> wrote:

> It looks OK to me.

Thanks.  Pushed and closing.

Cheers,
simon

Subject: [PATCH] ui: Handle EPIPE errors when displaying Guix version.
From: Simon Tournier <[email-masked]>
To: [email-masked]
Cc: Simon Tournier <[email-masked]>
Date: Thu, 12 Oct 2023 15:39:03 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixes <https://issues.guix.gnu.org/66254>.
Reported by Clément Lassieur <[email-masked]>.

* guix/ui.scm (run-guix): Handle EPIPE errors when displaying version.
---
 guix/ui.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Hi,

It appears to me a trivial patch that could directly could go be merged but
just in case I am not missing the obvious.

Cheers,
simon

diff --git a/guix/ui.scm b/guix/ui.scm
index 6f2d4fe245..507bc67f1d 100644
--- a/guix/ui.scm
+++ b/guix/ui.scm
@@ -2309,7 +2309,7 @@ (define (run-guix . args)
       ((or ("-h") ("--help"))
        (leave-on-EPIPE (show-guix-help)))
       ((or ("-V") ("--version"))
-       (show-version-and-exit "guix"))
+       (leave-on-EPIPE (show-version-and-exit "guix")))
       (((? option? o) args ...)
        (format (current-error-port)
                (G_ "guix: unrecognized option '~a'~%") o)

base-commit: 1328c4cca531318e3ed90c6aecb522a5b22a4bcc
-- 
2.38.1