summary refs log tree commit diff
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 18:39:41 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:51:55 +0200
commita53e5fb1214d1df025035ae5e95a1a928ab038af (patch)
tree18d199dbb86f3cc5fc3d849932ae40740718e501
parentc1502676487884e676204e0bf20aea75a69e3589 (diff)
downloadguix-a53e5fb1214d1df025035ae5e95a1a928ab038af.tar.gz
scripts: describe: Handle EPIPE errors when displaying help.
* guix/scripts/describe.scm (%options): Handle EPIPE errors when displaying
help.
-rw-r--r--guix/scripts/describe.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/describe.scm b/guix/scripts/describe.scm
index 5523aa0ec2..6d451dc902 100644
--- a/guix/scripts/describe.scm
+++ b/guix/scripts/describe.scm
@@ -74,7 +74,7 @@
                               result)))
         (option '(#\h "help") #f #f
                 (lambda args
-                  (show-help)
+                  (leave-on-EPIPE (show-help))
                   (exit 0)))
         (option '(#\V "version") #f #f
                 (lambda args