diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 17:38:01 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:52:02 +0200 |
commit | 028de130d29764cec0ddd56174148367befadce5 (patch) | |
tree | a4d3a8f24a32dd58c0c9e348fb4d0101ada76eb8 | |
parent | ac9b2939d65cf53c1fabeb4d11ec549a42e0b9c5 (diff) | |
download | guix-028de130d29764cec0ddd56174148367befadce5.tar guix-028de130d29764cec0ddd56174148367befadce5.tar.gz |
scripts: remove: Handle EPIPE errors when displaying help.
* guix/scripts/remove.scm (%options): Handle EPIPE errors when displaying help.
-rw-r--r-- | guix/scripts/remove.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/remove.scm b/guix/scripts/remove.scm index a46ad04d56..be073878c5 100644 --- a/guix/scripts/remove.scm +++ b/guix/scripts/remove.scm @@ -49,7 +49,7 @@ This is an alias for 'guix package -r'.\n")) ;; Specification 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 |