aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 18:43:42 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:51:54 +0200
commit2ac8e95dbafc21b415af4aab6db591f4eba4b941 (patch)
tree2969f66943c44636646f7b63f714ef50404414db /guix/scripts
parentde63efc802f1cb4d7b41bb5a88dba245ba351236 (diff)
downloadguix-2ac8e95dbafc21b415af4aab6db591f4eba4b941.tar
guix-2ac8e95dbafc21b415af4aab6db591f4eba4b941.tar.gz
scripts: challenge: Handle EPIPE errors when displaying help.
* guix/scripts/challenge.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix/scripts')
-rw-r--r--guix/scripts/challenge.scm2
1 files changed, 1 insertions, 1 deletions
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