summaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 17:36:56 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:52:00 +0200
commit61a7e16d8dd8325517db4072eb6b910b7f0adc1f (patch)
tree2a3fece89f39a7af70fd7f9eff0f32d25f8b4675 /guix
parentef8a615861f3a007aa36b3375e775adb621ec052 (diff)
scripts: pack: Handle EPIPE errors when displaying help.
* guix/scripts/pack.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/pack.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/pack.scm b/guix/scripts/pack.scm
index 78044fd625..bdbea49910 100644
--- a/guix/scripts/pack.scm
+++ b/guix/scripts/pack.scm
@@ -1360,7 +1360,7 @@ last resort for relocation."
;; Specifications of the command-line options.
(cons* (option '(#\h "help") #f #f
(lambda args
- (show-help)
+ (leave-on-EPIPE (show-help))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args