mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 07:16:39 +01:00
scripts: offload: Handle EPIPE errors when displaying help.
* guix/scripts/offload.scm (guix-offload): Handle EPIPE errors when displaying help.
This commit is contained in:
parent
55c3776023
commit
ef8a615861
1 changed files with 3 additions and 2 deletions
|
@ -868,11 +868,12 @@ (define not-coma
|
||||||
(("--version")
|
(("--version")
|
||||||
(show-version-and-exit "guix offload"))
|
(show-version-and-exit "guix offload"))
|
||||||
(("--help")
|
(("--help")
|
||||||
|
(leave-on-EPIPE
|
||||||
(format #t (G_ "Usage: guix offload SYSTEM MAX-SILENT-TIME \
|
(format #t (G_ "Usage: guix offload SYSTEM MAX-SILENT-TIME \
|
||||||
PRINT-BUILD-TRACE? BUILD-TIMEOUT
|
PRINT-BUILD-TRACE? BUILD-TIMEOUT
|
||||||
Process build offload requests written on the standard input, possibly
|
Process build offload requests written on the standard input, possibly
|
||||||
offloading builds to the machines listed in '~a'.~%")
|
offloading builds to the machines listed in '~a'.~%")
|
||||||
%machine-file)
|
%machine-file))
|
||||||
(display (G_ "
|
(display (G_ "
|
||||||
This tool is meant to be used internally by 'guix-daemon'.\n"))
|
This tool is meant to be used internally by 'guix-daemon'.\n"))
|
||||||
(show-bug-report-information))
|
(show-bug-report-information))
|
||||||
|
|
Loading…
Reference in a new issue