mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 23:06:59 +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")
|
||||
(show-version-and-exit "guix offload"))
|
||||
(("--help")
|
||||
(leave-on-EPIPE
|
||||
(format #t (G_ "Usage: guix offload SYSTEM MAX-SILENT-TIME \
|
||||
PRINT-BUILD-TRACE? BUILD-TIMEOUT
|
||||
Process build offload requests written on the standard input, possibly
|
||||
offloading builds to the machines listed in '~a'.~%")
|
||||
%machine-file)
|
||||
%machine-file))
|
||||
(display (G_ "
|
||||
This tool is meant to be used internally by 'guix-daemon'.\n"))
|
||||
(show-bug-report-information))
|
||||
|
|
Loading…
Reference in a new issue