aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 17:29:34 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:52:02 +0200
commit0c0bcbdd83cf3a2997df8fc1e1ab819c62fabfd0 (patch)
tree01b281c04544e5e2ff994f04055edb20fecc1a80
parent3a665d789f464c219b217331b1c69f4231ea0528 (diff)
downloadguix-0c0bcbdd83cf3a2997df8fc1e1ab819c62fabfd0.tar.gz
guix-0c0bcbdd83cf3a2997df8fc1e1ab819c62fabfd0.zip
scripts: pull: Handle EPIPE errors when displaying help.
Reported by Mathieu Othacehe <othacehe@gnu.org>. * guix/scripts/pull.scm (%options): Handle EPIPE errors when displaying help.
-rw-r--r--guix/scripts/pull.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/pull.scm b/guix/scripts/pull.scm
index 1904a6913a..58d3cd7e83 100644
--- a/guix/scripts/pull.scm
+++ b/guix/scripts/pull.scm
@@ -201,7 +201,7 @@ Download and deploy the latest version of Guix.\n"))
(option '(#\h "help") #f #f
(lambda args
- (show-help)
+ (leave-on-EPIPE (show-help))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args