diff options
author | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-16 17:53:21 +0200 |
---|---|---|
committer | Simon Tournier <zimon.toutoune@gmail.com> | 2023-10-17 14:51:58 +0200 |
commit | 79b6eef7501c1be6e6b93da5b6e8fd53b0ff0afc (patch) | |
tree | 713e46a63f43a8c7744425ee567fb0f7067f4f36 /guix | |
parent | f7c274c403eb41035544e21563f380be1087153e (diff) |
scripts: import: Handle EPIPE errors when displaying help.
* guix/scripts/import.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix')
-rw-r--r-- | guix/scripts/import.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/import.scm b/guix/scripts/import.scm index 4ddd8d46a1..1e8ffd25ec 100644 --- a/guix/scripts/import.scm +++ b/guix/scripts/import.scm @@ -78,7 +78,7 @@ Run IMPORTER with ARGS.\n")) (format (current-error-port) (G_ "guix import: missing importer name~%"))) ((or ("-h") ("--help")) - (show-help) + (leave-on-EPIPE (show-help)) (exit 0)) ((or ("-V") ("--version")) (show-version-and-exit "guix import")) |