zimoun pushed a commit to branch master
in repository guix.
commit 078107289a8a39d884607fedfec05ba802ee6077
Author: Simon Tournier <[email protected]>
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)