diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:40:25 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:52:03 +0200 |
commit | 94e0496aa8d7abaddd62972fd76720828b01ba60 (patch) | |
tree | bb3a15da3a61785165477abe5d4da016c4ee574c | |
parent | c5a5ccfa54d2a2e7d55c402ffc3fec87528373f2 (diff) | |
download | guix-patches-94e0496aa8d7abaddd62972fd76720828b01ba60.tar guix-patches-94e0496aa8d7abaddd62972fd76720828b01ba60.tar.gz |
scripts: search: Handle EPIPE errors when displaying help.
* guix/scripts/search.scm (%options): Handle EPIPE errors when displaying
help.
-rw-r--r-- | guix/scripts/search.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/search.scm b/guix/scripts/search.scm index 307ea410b9..e6deb710b1 100644 --- a/guix/scripts/search.scm +++ b/guix/scripts/search.scm @@ -47,7 +47,7 @@ This is an alias for 'guix package -s'.\n")) ;; 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 |