diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:46:07 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:52:01 +0200 |
commit | bfc6c541315f7f1bce22fe3ef612355a6ab69f2b (patch) | |
tree | 2a16a9e3d03f83b921c3367c79d9c55ec61e58e6 | |
parent | 4451982ac43e28a1860eaffa9329d0b2bdbba1a2 (diff) |
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.scm | 2 |
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 |