diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:43:42 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:51:54 +0200 |
commit | 2ac8e95dbafc21b415af4aab6db591f4eba4b941 (patch) | |
tree | 2969f66943c44636646f7b63f714ef50404414db | |
parent | de63efc802f1cb4d7b41bb5a88dba245ba351236 (diff) | |
download | guix-2ac8e95dbafc21b415af4aab6db591f4eba4b941.tar.gz guix-2ac8e95dbafc21b415af4aab6db591f4eba4b941.zip |
scripts: challenge: Handle EPIPE errors when displaying help.
* guix/scripts/challenge.scm (%options): Handle EPIPE errors when displaying
help.
-rw-r--r-- | guix/scripts/challenge.scm | 2 |
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 |