aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 18:46:49 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:52:04 +0200
commit08b16ebcb3c02d9833e53b2d1a9cff747cc2ae7a (patch)
tree6c357e77dd9b430410f120ef88c4bdef229d002e /guix/scripts
parent426f52826b7ae21d535067d6539bc79c82df6450 (diff)
downloadguix-08b16ebcb3c02d9833e53b2d1a9cff747cc2ae7a.tar
guix-08b16ebcb3c02d9833e53b2d1a9cff747cc2ae7a.tar.gz
scripts: style: Handle EPIPE errors when displaying help.
* guix/scripts/style.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix/scripts')
-rw-r--r--guix/scripts/style.scm2
1 files changed, 1 insertions, 1 deletions
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