diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:45:26 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:51:53 +0200 |
commit | b53742def399969042f477181cae2637ef3a3842 (patch) | |
tree | b4570dc80f56fa4e7d47197624ec3ccdbefe09f5 | |
parent | b4d1eb53c01d3b6e7b255debb593d5c7de725977 (diff) | |
download | guix-b53742def399969042f477181cae2637ef3a3842.tar.gz guix-b53742def399969042f477181cae2637ef3a3842.zip |
scripts: archive: Handle EPIPE errors when displaying help.
* guix/scripts/archive.scm (%options): Handle EPIPE errors when displaying
help.
-rw-r--r-- | guix/scripts/archive.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/archive.scm b/guix/scripts/archive.scm index e32f22ec99..2b5a55a23f 100644 --- a/guix/scripts/archive.scm +++ b/guix/scripts/archive.scm @@ -119,7 +119,7 @@ Export/import one or more packages from/to the store.\n")) ;; 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 |