summaryrefslogtreecommitdiff
path: root/guix/scripts
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 18:38:21 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:51:57 +0200
commitba8a43f2202c31e6f8923e566a0b24877df44c57 (patch)
tree05700e87030236db38b50381352a9fa4be09a360 /guix/scripts
parentcba0fa6f4ff5707ff5911ef312f8003ff090cf18 (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.scm2
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