diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:49:29 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:51:57 +0200 |
commit | 330540b638fd2038ecd24dfcd71da3070077363c (patch) | |
tree | 17e077534299b34ba7546064519165363042478a | |
parent | 8ed377978eac88b431908b4806591e9339331262 (diff) |
scripts: gc: Handle EPIPE errors when displaying help.
* guix/scripts/gc.scm (%options): Handle EPIPE errors when displaying help.
-rw-r--r-- | guix/scripts/gc.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/gc.scm b/guix/scripts/gc.scm index 6068f5fe3f..58af827617 100644 --- a/guix/scripts/gc.scm +++ b/guix/scripts/gc.scm @@ -132,7 +132,7 @@ current one." ;; Specification of the command-line options. (list (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\V "version") #f #f (lambda args |