diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 18:55:55 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:51:57 +0200 |
commit | cba0fa6f4ff5707ff5911ef312f8003ff090cf18 (patch) | |
tree | 0260abb38a00aa1c10aee5e9efc475551a12e931 /guix/scripts/git.scm | |
parent | 330540b638fd2038ecd24dfcd71da3070077363c (diff) |
scripts: git: Handle EPIPE errors when displaying help.
* guix/scripts/git.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix/scripts/git.scm')
-rw-r--r-- | guix/scripts/git.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/git.scm b/guix/scripts/git.scm index 4436d8a6e0..abbad076cd 100644 --- a/guix/scripts/git.scm +++ b/guix/scripts/git.scm @@ -56,7 +56,7 @@ Operate on Git repositories.\n")) (format (current-error-port) (G_ "guix git: missing sub-command~%"))) ((or ("-h") ("--help")) - (show-help) + (leave-on-EPIPE (show-help)) (exit 0)) ((or ("-V") ("--version")) (show-version-and-exit "guix git")) |