summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 18:37:07 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:52:01 +0200
commit3a665d789f464c219b217331b1c69f4231ea0528 (patch)
tree7bc8b3d33059f11714d18c10f6242c00bbf47c06 /guix
parentbfc6c541315f7f1bce22fe3ef612355a6ab69f2b (diff)
scripts: publish: Handle EPIPE errors when displaying help.
* guix/scripts/publish.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/publish.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/publish.scm b/guix/scripts/publish.scm
index ada81838ac..4457be1fce 100644
--- a/guix/scripts/publish.scm
+++ b/guix/scripts/publish.scm
@@ -160,7 +160,7 @@ usage."
(define %options
(list (option '(#\h "help") #f #f
(lambda _
- (show-help)
+ (leave-on-EPIPE (show-help))
(exit 0)))
(option '(#\V "version") #f #f
(lambda _