guix-commits
[Top][All Lists]
Advanced

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

22/40: scripts: pack: Handle EPIPE errors when displaying help.


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

zimoun pushed a commit to branch master
in repository guix.

commit 61a7e16d8dd8325517db4072eb6b910b7f0adc1f
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Mon Oct 16 17:36:56 2023 +0200

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

diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 78044fd625..bdbea49910 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -1360,7 +1360,7 @@ last resort for relocation."
   ;; Specifications of the command-line options.
   (cons* (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]