aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts/lint.scm
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 18:06:52 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:51:59 +0200
commit078107289a8a39d884607fedfec05ba802ee6077 (patch)
treec92c198472ef37568492970e84feb66868f5d3d7 /guix/scripts/lint.scm
parenta5d90426638509ab323286fa38b6a64d9a21c097 (diff)
downloadguix-078107289a8a39d884607fedfec05ba802ee6077.tar
guix-078107289a8a39d884607fedfec05ba802ee6077.tar.gz
scripts: lint: Handle EPIPE errors when displaying help.
* guix/scripts/lint.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix/scripts/lint.scm')
-rw-r--r--guix/scripts/lint.scm2
1 files changed, 1 insertions, 1 deletions
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)