diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:06:52 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:51:59 +0200 |
commit | 078107289a8a39d884607fedfec05ba802ee6077 (patch) | |
tree | c92c198472ef37568492970e84feb66868f5d3d7 | |
parent | a5d90426638509ab323286fa38b6a64d9a21c097 (diff) | |
download | guix-078107289a8a39d884607fedfec05ba802ee6077.tar.gz guix-078107289a8a39d884607fedfec05ba802ee6077.zip |
scripts: lint: Handle EPIPE errors when displaying help.
* guix/scripts/lint.scm (%options): Handle EPIPE errors when displaying help.
-rw-r--r-- | guix/scripts/lint.scm | 2 |
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) |