diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:48:51 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:52:05 +0200 |
commit | 6c5516ab83d4e5a5712d7fcc56b3993614b8f0b8 (patch) | |
tree | 7fcc1397d48def608222caba7a968e0e0b4ba771 /guix | |
parent | 08b16ebcb3c02d9833e53b2d1a9cff747cc2ae7a (diff) |
scripts: system: Handle EPIPE errors when displaying help.
* guix/scripts/system.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/scripts/system.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/system.scm b/guix/scripts/system.scm index 547387d5e1..f85b663d64 100644 --- a/guix/scripts/system.scm +++ b/guix/scripts/system.scm @@ -1064,7 +1064,7 @@ Some ACTIONS support additional ARGS.\n")) ;; Specifications 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 |