diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:50:48 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:51:56 +0200 |
commit | 25331ae62b0c963b8f5bf7b993ccd8c7dcaf2d3f (patch) | |
tree | a39ba45de3a9071449c1cf2ffb3d2bd901465b34 /guix | |
parent | 6c6071faf9adba374160fd6168789f0c7c8eb35f (diff) |
scripts: download: Handle EPIPE errors when displaying help.
* guix/scripts/download.scm (%options): Handle EPIPE errors when displaying
help.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/scripts/download.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/download.scm b/guix/scripts/download.scm index 0ab5c8c39c..0441d3fead 100644 --- a/guix/scripts/download.scm +++ b/guix/scripts/download.scm @@ -143,7 +143,7 @@ and 'base16' ('hex' and 'hexadecimal' can be used as well).\n")) (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\V "version") #f #f (lambda args |