diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:38:21 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:51:57 +0200 |
commit | ba8a43f2202c31e6f8923e566a0b24877df44c57 (patch) | |
tree | 05700e87030236db38b50381352a9fa4be09a360 | |
parent | cba0fa6f4ff5707ff5911ef312f8003ff090cf18 (diff) | |
download | guix-ba8a43f2202c31e6f8923e566a0b24877df44c57.tar.gz guix-ba8a43f2202c31e6f8923e566a0b24877df44c57.zip |
scripts: graph: Handle EPIPE errors when displaying help.
* guix/scripts/graph.scm (%options): Handle EPIPE errors when displaying help.
-rw-r--r-- | guix/scripts/graph.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/graph.scm b/guix/scripts/graph.scm index c075e0ec29..6740858d8b 100644 --- a/guix/scripts/graph.scm +++ b/guix/scripts/graph.scm @@ -510,7 +510,7 @@ package modules, while attempting to retain user package modules." %standard-build-options) (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\V "version") #f #f (lambda args |