guix-commits
[Top][All Lists]
Advanced

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

08/40: scripts: describe: Handle EPIPE errors when displaying help.


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

zimoun pushed a commit to branch master
in repository guix.

commit a53e5fb1214d1df025035ae5e95a1a928ab038af
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Mon Oct 16 18:39:41 2023 +0200

    scripts: describe: Handle EPIPE errors when displaying help.
    
    * guix/scripts/describe.scm (%options): Handle EPIPE errors when displaying
    help.
---
 guix/scripts/describe.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm
index 5523aa0ec2..6d451dc902 100644
--- a/guix/scripts/describe.scm
+++ b/guix/scripts/describe.scm
@@ -74,7 +74,7 @@
                               result)))
         (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]