guix-commits
[Top][All Lists]
Advanced

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

34/40: scripts: style: Handle EPIPE errors when displaying help.


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

zimoun pushed a commit to branch master
in repository guix.

commit 08b16ebcb3c02d9833e53b2d1a9cff747cc2ae7a
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Mon Oct 16 18:46:49 2023 +0200

    scripts: style: Handle EPIPE errors when displaying help.
    
    * guix/scripts/style.scm (%options): Handle EPIPE errors when displaying 
help.
---
 guix/scripts/style.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/style.scm b/guix/scripts/style.scm
index 4920a8d969..145cd09881 100644
--- a/guix/scripts/style.scm
+++ b/guix/scripts/style.scm
@@ -547,7 +547,7 @@ bailing out~%"))
 
         (option '(#\h "help") #f #f
                 (lambda args
-                  (show-help)
+                  (leave-on-EPIPE (show-help))
                   (exit 0)))
         (option '(#\l "list-stylings") #f #f
                 (lambda args



reply via email to

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