From bfc6c541315f7f1bce22fe3ef612355a6ab69f2b Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Mon, 16 Oct 2023 18:46:07 +0200 Subject: scripts: processes: Handle EPIPE errors when displaying help. * guix/scripts/processes.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/processes.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix/scripts/processes.scm') diff --git a/guix/scripts/processes.scm b/guix/scripts/processes.scm index 3db5603286..4a855c8c7c 100644 --- a/guix/scripts/processes.scm +++ b/guix/scripts/processes.scm @@ -313,7 +313,7 @@ (define (show-help) (define %options (list (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\V "version") #f #f (lambda args -- cgit v1.2.3