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 /guix/scripts | |
parent | cba0fa6f4ff5707ff5911ef312f8003ff090cf18 (diff) |
scripts: graph: Handle EPIPE errors when displaying help.
* guix/scripts/graph.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix/scripts')
-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 |