diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 17:32:52 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:52:03 +0200 |
commit | c5a5ccfa54d2a2e7d55c402ffc3fec87528373f2 (patch) | |
tree | 180eba36d67067a74703311301317d2fd1c621a7 | |
parent | 028de130d29764cec0ddd56174148367befadce5 (diff) | |
download | guix-c5a5ccfa54d2a2e7d55c402ffc3fec87528373f2.tar.gz guix-c5a5ccfa54d2a2e7d55c402ffc3fec87528373f2.zip |
scripts: repl: Handle EPIPE errors when displaying help.
* guix/scripts/repl.scm (%options): Handle EPIPE errors when displaying help.
-rw-r--r-- | guix/scripts/repl.scm | 2 |
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 |