diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:46:49 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:52:04 +0200 |
commit | 08b16ebcb3c02d9833e53b2d1a9cff747cc2ae7a (patch) | |
tree | 6c357e77dd9b430410f120ef88c4bdef229d002e /guix | |
parent | 426f52826b7ae21d535067d6539bc79c82df6450 (diff) |
scripts: style: Handle EPIPE errors when displaying help.
* guix/scripts/style.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/scripts/style.scm | 2 |
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 |