guix-commits
[Top][All Lists]
Advanced

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

24/40: scripts: processes: Handle EPIPE errors when displaying help.


From: guix-commits
Subject: 24/40: scripts: processes: 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 bfc6c541315f7f1bce22fe3ef612355a6ab69f2b
Author: Simon Tournier <zimon.toutoune@gmail.com>
AuthorDate: Mon Oct 16 18:46:07 2023 +0200

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

diff --git a/guix/scripts/processes.scm b/guix/scripts/processes.scm
index 3db5603286..4a855c8c7c 100644
--- a/guix/scripts/processes.scm
+++ b/guix/scripts/processes.scm
@@ -313,7 +313,7 @@ List the current Guix sessions and their processes."))
 (define %options
   (list (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]