guix-commits
[Top][All Lists]
Advanced

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

19/40: scripts: lint: Handle EPIPE errors when displaying help.


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

zimoun pushed a commit to branch master
in repository guix.

commit 078107289a8a39d884607fedfec05ba802ee6077
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Mon Oct 16 18:06:52 2023 +0200

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

diff --git a/guix/scripts/lint.scm b/guix/scripts/lint.scm
index 9920c3ee62..ee3de51fb1 100644
--- a/guix/scripts/lint.scm
+++ b/guix/scripts/lint.scm
@@ -159,7 +159,7 @@ run the checkers on all packages.\n"))
               %standard-build-options)
         (option '(#\h "help") #f #f
                 (lambda args
-                  (show-help)
+                  (leave-on-EPIPE (show-help))
                   (exit 0)))
         (option '(#\l "list-checkers") #f #f
                 (lambda (opt name arg result)



reply via email to

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