guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

33/40: scripts: size: Handle EPIPE errors when displaying help.


From: guix-commits
Subject: 33/40: scripts: size: Handle EPIPE errors when displaying help.
Date: Tue, 17 Oct 2023 08:54:42 -0400 (EDT)

zimoun pushed a commit to branch master
in repository guix.

commit 426f52826b7ae21d535067d6539bc79c82df6450
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Mon Oct 16 18:09:37 2023 +0200

    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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]