From 08b16ebcb3c02d9833e53b2d1a9cff747cc2ae7a Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Mon, 16 Oct 2023 18:46:49 +0200 Subject: scripts: style: Handle EPIPE errors when displaying help. * guix/scripts/style.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/style.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix/scripts/style.scm') 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 @@ (define %options (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\l "list-stylings") #f #f (lambda args -- cgit v1.2.3