guix-commits
[Top][All Lists]
Advanced

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

18/40: scripts: install: Handle EPIPE errors when displaying help.


From: guix-commits
Subject: 18/40: scripts: install: 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 a5d90426638509ab323286fa38b6a64d9a21c097
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Mon Oct 16 18:38:56 2023 +0200

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

diff --git a/guix/scripts/install.scm b/guix/scripts/install.scm
index 63e625f266..504dbc9a6f 100644
--- a/guix/scripts/install.scm
+++ b/guix/scripts/install.scm
@@ -52,7 +52,7 @@ This is an alias for 'guix package -i'.\n"))
   ;; Specification 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]