diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:39:41 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:51:55 +0200 |
commit | a53e5fb1214d1df025035ae5e95a1a928ab038af (patch) | |
tree | 18d199dbb86f3cc5fc3d849932ae40740718e501 | |
parent | c1502676487884e676204e0bf20aea75a69e3589 (diff) | |
download | guix-a53e5fb1214d1df025035ae5e95a1a928ab038af.tar.gz guix-a53e5fb1214d1df025035ae5e95a1a928ab038af.zip |
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.scm | 2 |
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 |