diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:37:07 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:52:01 +0200 |
commit | 3a665d789f464c219b217331b1c69f4231ea0528 (patch) | |
tree | 7bc8b3d33059f11714d18c10f6242c00bbf47c06 | |
parent | bfc6c541315f7f1bce22fe3ef612355a6ab69f2b (diff) | |
download | guix-patches-3a665d789f464c219b217331b1c69f4231ea0528.tar guix-patches-3a665d789f464c219b217331b1c69f4231ea0528.tar.gz |
scripts: publish: Handle EPIPE errors when displaying help.
* guix/scripts/publish.scm (%options): Handle EPIPE errors when displaying
help.
-rw-r--r-- | guix/scripts/publish.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/publish.scm b/guix/scripts/publish.scm index ada81838ac..4457be1fce 100644 --- a/guix/scripts/publish.scm +++ b/guix/scripts/publish.scm @@ -160,7 +160,7 @@ usage." (define %options (list (option '(#\h "help") #f #f (lambda _ - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\V "version") #f #f (lambda _ |