Subject: [PATCH v2 28/39] scripts: remove: Handle EPIPE errors when displaying help.

From: Simon Tournier <[email-masked]>
Date: Mon, 16 Oct 2023 19:29:46 +0200

* guix/scripts/remove.scm (%options): Handle EPIPE errors when displaying help.
---
 guix/scripts/remove.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ (define %options
   ;; 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
-- 
2.38.1