From 3a665d789f464c219b217331b1c69f4231ea0528 Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Mon, 16 Oct 2023 18:37:07 +0200 Subject: scripts: publish: Handle EPIPE errors when displaying help. * guix/scripts/publish.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/publish.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 _ -- cgit v1.2.3