summaryrefslogtreecommitdiff
path: root/guix/scripts/container.scm
diff options
context:
space:
mode:
authorSimon Tournier <zimon.toutoune@gmail.com>2023-10-16 18:50:12 +0200
committerSimon Tournier <zimon.toutoune@gmail.com>2023-10-17 14:51:54 +0200
commitf814d33cbd3bd6f4a6c330ed0e93a214b887f401 (patch)
tree9f16bf48ee2d2fe39deafe00a62827f3cf3840cb /guix/scripts/container.scm
parent2ac8e95dbafc21b415af4aab6db591f4eba4b941 (diff)
scripts: container: Handle EPIPE errors when displaying help.
* guix/scripts/container.scm (%options): Handle EPIPE errors when displaying help.
Diffstat (limited to 'guix/scripts/container.scm')
-rw-r--r--guix/scripts/container.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/guix/scripts/container.scm b/guix/scripts/container.scm
index 2369437043..70637bca29 100644
--- a/guix/scripts/container.scm
+++ b/guix/scripts/container.scm
@@ -57,7 +57,7 @@ Build and manipulate Linux containers.\n"))
(format (current-error-port)
(G_ "guix container: missing action~%")))
((or ("-h") ("--help"))
- (show-help)
+ (leave-on-EPIPE (show-help))
(exit 0))
((or ("-V") ("--version"))
(show-version-and-exit "guix container"))