aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 18:46:07 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:52:01 +0200
commitbfc6c541315f7f1bce22fe3ef612355a6ab69f2b (patch)
tree2a16a9e3d03f83b921c3367c79d9c55ec61e58e6
parent4451982ac43e28a1860eaffa9329d0b2bdbba1a2 (diff)
downloadguix-bfc6c541315f7f1bce22fe3ef612355a6ab69f2b.tar.gz
guix-bfc6c541315f7f1bce22fe3ef612355a6ab69f2b.zip
scripts: processes: Handle EPIPE errors when displaying help.
* guix/scripts/processes.scm (%options): Handle EPIPE errors when displaying help.
-rw-r--r--guix/scripts/processes.scm2
1 files changed, 1 insertions, 1 deletions
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