From 426f52826b7ae21d535067d6539bc79c82df6450 Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Mon, 16 Oct 2023 18:09:37 +0200 Subject: scripts: size: Handle EPIPE errors when displaying help. * guix/scripts/size.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/size.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guix/scripts/size.scm b/guix/scripts/size.scm index 48b8ecc881..d26ed98388 100644 --- a/guix/scripts/size.scm +++ b/guix/scripts/size.scm @@ -278,7 +278,7 @@ Report the size of the PACKAGE or STORE-ITEM, with its dependencies.\n")) %standard-build-options) (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