summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 18:38:56 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:51:59 +0200
commita5d90426638509ab323286fa38b6a64d9a21c097 (patch)
tree6a08d87fffea96763322ce829d3992425836b01f /guix
parent79b6eef7501c1be6e6b93da5b6e8fd53b0ff0afc (diff)
scripts: install: Handle EPIPE errors when displaying help.
* guix/scripts/install.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/install.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/install.scm b/guix/scripts/install.scm
index 63e625f266..504dbc9a6f 100644
--- a/guix/scripts/install.scm
+++ b/guix/scripts/install.scm
@@ -52,7 +52,7 @@ This is an alias for 'guix package -i'.\n"))
;; Specification of the command-line options.
(cons* (option '(#\h "help") #f #f
(lambda args
- (show-help)
+ (leave-on-EPIPE (show-help))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args