guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#66499] [PATCH v2 05/39] scripts: container: Handle EPIPE errors whe


From: Simon Tournier
Subject: [bug#66499] [PATCH v2 05/39] scripts: container: Handle EPIPE errors when displaying help.
Date: Mon, 16 Oct 2023 19:29:23 +0200

* guix/scripts/container.scm (%options): Handle EPIPE errors when displaying
help.
---
 guix/scripts/container.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 @@ (define-command (guix-container . args)
        (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"))
-- 
2.38.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]