From f814d33cbd3bd6f4a6c330ed0e93a214b887f401 Mon Sep 17 00:00:00 2001 From: Simon Tournier Date: Mon, 16 Oct 2023 18:50:12 +0200 Subject: scripts: container: Handle EPIPE errors when displaying help. * guix/scripts/container.scm (%options): Handle EPIPE errors when displaying help. --- guix/scripts/container.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guix/scripts') 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")) -- cgit v1.2.3