guix-commits
[Top][All Lists]
Advanced

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

14/40: scripts: graph: Handle EPIPE errors when displaying help.


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

zimoun pushed a commit to branch master
in repository guix.

commit ba8a43f2202c31e6f8923e566a0b24877df44c57
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Mon Oct 16 18:38:21 2023 +0200

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

diff --git a/guix/scripts/graph.scm b/guix/scripts/graph.scm
index c075e0ec29..6740858d8b 100644
--- a/guix/scripts/graph.scm
+++ b/guix/scripts/graph.scm
@@ -510,7 +510,7 @@ package modules, while attempting to retain user package 
modules."
               %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]