From 330540b638fd2038ecd24dfcd71da3070077363c Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Mon, 16 Oct 2023 18:49:29 +0200 Subject: [PATCH] scripts: gc: Handle EPIPE errors when displaying help. * guix/scripts/gc.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/gc.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/gc.scm b/guix/scripts/gc.scm index 6068f5fe3f..58af827617 100644 --- a/guix/scripts/gc.scm +++ b/guix/scripts/gc.scm @@ -132,7 +132,7 @@ current one." ;; 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