summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 18:09:37 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:52:04 +0200
commit426f52826b7ae21d535067d6539bc79c82df6450 (patch)
tree29c56f6de7a9667a5ecd6a7ed6a91596ff670db3 /guix
parentd56940eb81d16ed3c41345bc6a9f74fa42e8331d (diff)
scripts: size: Handle EPIPE errors when displaying help.
* guix/scripts/size.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/size.scm2
1 files changed, 1 insertions, 1 deletions
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