unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#66499] [PATCH] ui: Handle EPIPE errors when displaying Guix version.
@ 2023-10-12 13:39 Simon Tournier
  2023-10-14  8:13 ` Mathieu Othacehe
  2023-10-16 17:29 ` [bug#66499] [PATCH v2 01/39] " Simon Tournier
  0 siblings, 2 replies; 44+ messages in thread
From: Simon Tournier @ 2023-10-12 13:39 UTC (permalink / raw)
  To: 66499
  Cc: Simon Tournier, Christopher Baines, Josselin Poiret,
	Ludovic Courtès, Mathieu Othacehe, Ricardo Wurmus,
	Simon Tournier, Tobias Geerinckx-Rice

Fixes <https://issues.guix.gnu.org/66254>.
Reported by Clément Lassieur <clement@lassieur.org>.

* 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





^ permalink raw reply related	[flat|nested] 44+ messages in thread

end of thread, other threads:[~2023-10-17 12:59 UTC | newest]

Thread overview: 44+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-10-12 13:39 [bug#66499] [PATCH] ui: Handle EPIPE errors when displaying Guix version Simon Tournier
2023-10-14  8:13 ` Mathieu Othacehe
2023-10-16 17:04   ` Simon Tournier
2023-10-17  9:47     ` Mathieu Othacehe
2023-10-17 12:57       ` bug#66499: " Simon Tournier
2023-10-16 17:29 ` [bug#66499] [PATCH v2 01/39] " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 02/39] scripts: archive: Handle EPIPE errors when displaying help Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 03/39] scripts: build: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 04/39] scripts: challenge: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 05/39] scripts: container: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 06/39] scripts: copy: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 07/39] scripts: deploy: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 08/39] scripts: describe: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 09/39] scripts: discover: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 10/39] scripts: download: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 11/39] scripts: edit: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 12/39] scripts: gc: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 13/39] scripts: git: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 14/39] scripts: graph: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 15/39] scripts: hash: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 16/39] scripts: home: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 17/39] scripts: import: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 18/39] scripts: install: " Simon Tournier via Guix-patches
2023-10-16 17:29   ` [bug#66499] [PATCH v2 19/39] scripts: lint: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 20/39] scripts: locate: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 21/39] scripts: offload: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 22/39] scripts: pack: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 23/39] scripts: package: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 24/39] scripts: processes: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 25/39] scripts: publish: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 26/39] scripts: pull: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 27/39] scripts: refresh: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 28/39] scripts: remove: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 29/39] scripts: repl: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 30/39] scripts: search: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 31/39] scripts: shell: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 32/39] scripts: show: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 33/39] scripts: size: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 34/39] scripts: style: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 35/39] scripts: system: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 36/39] scripts: substitute: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 37/39] scripts: time-machine: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 38/39] scripts: upgrade: " Simon Tournier
2023-10-16 17:29   ` [bug#66499] [PATCH v2 39/39] scripts: weather: " Simon Tournier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).