aboutsummaryrefslogtreecommitdiff
path: root/guix/scripts/repl.scm
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 17:32:52 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:52:03 +0200
commitc5a5ccfa54d2a2e7d55c402ffc3fec87528373f2 (patch)
tree180eba36d67067a74703311301317d2fd1c621a7 /guix/scripts/repl.scm
parent028de130d29764cec0ddd56174148367befadce5 (diff)
downloadguix-c5a5ccfa54d2a2e7d55c402ffc3fec87528373f2.tar
guix-c5a5ccfa54d2a2e7d55c402ffc3fec87528373f2.tar.gz
scripts: repl: Handle EPIPE errors when displaying help.
* guix/scripts/repl.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix/scripts/repl.scm')
-rw-r--r--guix/scripts/repl.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/repl.scm b/guix/scripts/repl.scm
index fd23a2b982..cb71e59b05 100644
--- a/guix/scripts/repl.scm
+++ b/guix/scripts/repl.scm
@@ -42,7 +42,7 @@
(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