From 25331ae62b0c963b8f5bf7b993ccd8c7dcaf2d3f Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Mon, 16 Oct 2023 18:50:48 +0200 Subject: scripts: download: Handle EPIPE errors when displaying help. * guix/scripts/download.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/download.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix/scripts/download.scm') diff --git a/guix/scripts/download.scm b/guix/scripts/download.scm index 0ab5c8c39c..0441d3fead 100644 --- a/guix/scripts/download.scm +++ b/guix/scripts/download.scm @@ -143,7 +143,7 @@ and 'base16' ('hex' and 'hexadecimal' can be used as well).\n")) (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