summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 17:38:01 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:52:02 +0200
commit028de130d29764cec0ddd56174148367befadce5 (patch)
treea4d3a8f24a32dd58c0c9e348fb4d0101ada76eb8 /guix
parentac9b2939d65cf53c1fabeb4d11ec549a42e0b9c5 (diff)
scripts: remove: Handle EPIPE errors when displaying help.
* guix/scripts/remove.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/remove.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/remove.scm b/guix/scripts/remove.scm
index a46ad04d56..be073878c5 100644
--- a/guix/scripts/remove.scm
+++ b/guix/scripts/remove.scm
@@ -49,7 +49,7 @@ This is an alias for 'guix package -r'.\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