guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

25/40: scripts: publish: Handle EPIPE errors when displaying help.


From: guix-commits
Subject: 25/40: scripts: publish: Handle EPIPE errors when displaying help.
Date: Tue, 17 Oct 2023 08:54:41 -0400 (EDT)

zimoun pushed a commit to branch master
in repository guix.

commit 3a665d789f464c219b217331b1c69f4231ea0528
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Mon Oct 16 18:37:07 2023 +0200

    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 _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]