From 2ac8e95dbafc21b415af4aab6db591f4eba4b941 Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Mon, 16 Oct 2023 18:43:42 +0200 Subject: scripts: challenge: Handle EPIPE errors when displaying help. * guix/scripts/challenge.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/challenge.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/challenge.scm b/guix/scripts/challenge.scm index 4821e11bf6..01e2f9a2b2 100644 --- a/guix/scripts/challenge.scm +++ b/guix/scripts/challenge.scm @@ -467,7 +467,7 @@ Challenge the substitutes for PACKAGE... provided by one or more servers.\n")) (define %options (list (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\V "version") #f #f (lambda args -- cgit v1.2.3