From 94e0496aa8d7abaddd62972fd76720828b01ba60 Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Mon, 16 Oct 2023 18:40:25 +0200 Subject: scripts: search: Handle EPIPE errors when displaying help. * guix/scripts/search.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/search.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/search.scm b/guix/scripts/search.scm index 307ea410b9..e6deb710b1 100644 --- a/guix/scripts/search.scm +++ b/guix/scripts/search.scm @@ -47,7 +47,7 @@ This is an alias for 'guix package -s'.\n")) ;; Specification of the command-line 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