diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 17:52:06 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:52:02 +0200 |
commit | ac9b2939d65cf53c1fabeb4d11ec549a42e0b9c5 (patch) | |
tree | 02858a4c9b13b3ad9f8c350f50ea7ce1702936c1 | |
parent | 0c0bcbdd83cf3a2997df8fc1e1ab819c62fabfd0 (diff) | |
download | guix-ac9b2939d65cf53c1fabeb4d11ec549a42e0b9c5.tar.gz guix-ac9b2939d65cf53c1fabeb4d11ec549a42e0b9c5.zip |
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.scm | 2 |
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 |