diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:47:37 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:51:56 +0200 |
commit | 8ed377978eac88b431908b4806591e9339331262 (patch) | |
tree | 9198cfd9b368fb61b04c3647910f0693a70dbdba /guix | |
parent | 25331ae62b0c963b8f5bf7b993ccd8c7dcaf2d3f (diff) |
scripts: edit: Handle EPIPE errors when displaying help.
* guix/scripts/edit.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/scripts/edit.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/edit.scm b/guix/scripts/edit.scm index 5ce2870c5a..ff2d529bcf 100644 --- a/guix/scripts/edit.scm +++ b/guix/scripts/edit.scm @@ -37,7 +37,7 @@ %standard-build-options) (option '(#\h "help") #f #f (lambda args - (show-help) + (leave-on-EPIPE (show-help)) (exit 0))) (option '(#\V "version") #f #f (lambda args |