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 @@ machine." | ||||||
|     (("--version") |     (("--version") | ||||||
|      (show-version-and-exit "guix offload")) |      (show-version-and-exit "guix offload")) | ||||||
|     (("--help") |     (("--help") | ||||||
|      (format #t (G_ "Usage: guix offload SYSTEM MAX-SILENT-TIME \ |      (leave-on-EPIPE | ||||||
|  |       (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)) | ||||||
|  |  | ||||||
		Reference in a new issue