summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 17:50:53 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:52:03 +0200
commitacdbb798d0eda0fd4164b82d14f31d902de381da (patch)
treec35e161c23742ba05237ebdfb906a7dd7ee26a05 /guix
parent94e0496aa8d7abaddd62972fd76720828b01ba60 (diff)
scripts: shell: Handle EPIPE errors when displaying help.
* guix/scripts/shell.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/shell.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/shell.scm b/guix/scripts/shell.scm
index 898c355316..10ea110fee 100644
--- a/guix/scripts/shell.scm
+++ b/guix/scripts/shell.scm
@@ -116,7 +116,7 @@ interactive shell in that environment.\n"))
(append
(list (option '(#\h "help") #f #f
(lambda args
- (show-help)
+ (leave-on-EPIPE (show-help))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args