aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 17:52:06 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:52:02 +0200
commitac9b2939d65cf53c1fabeb4d11ec549a42e0b9c5 (patch)
tree02858a4c9b13b3ad9f8c350f50ea7ce1702936c1
parent0c0bcbdd83cf3a2997df8fc1e1ab819c62fabfd0 (diff)
downloadguix-ac9b2939d65cf53c1fabeb4d11ec549a42e0b9c5.tar
guix-ac9b2939d65cf53c1fabeb4d11ec549a42e0b9c5.tar.gz
scripts: refresh: Handle EPIPE errors when displaying help.
* guix/scripts/refresh.scm (%options): Handle EPIPE errors when displaying help.
-rw-r--r--guix/scripts/refresh.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/refresh.scm b/guix/scripts/refresh.scm
index 46bf310d5f..d858ed07cb 100644
--- a/guix/scripts/refresh.scm
+++ b/guix/scripts/refresh.scm
@@ -144,7 +144,7 @@
(option '(#\h "help") #f #f
(lambda args
- (show-help)
+ (leave-on-EPIPE (show-help))
(exit 0)))
(option '(#\V "version") #f #f
(lambda args