* Typo.
This commit is contained in:
		
							parent
							
								
									3cfe65e516
								
							
						
					
					
						commit
						c9b2d80bcd
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -220,7 +220,7 @@ my $buildFlags = "--max-silent-time $maxSilentTime";
 | 
				
			||||||
if (system("ssh $hostName @sshOpts -tt 'nix-store --realise $buildFlags $drvPath > /dev/null'") != 0) {
 | 
					if (system("ssh $hostName @sshOpts -tt 'nix-store --realise $buildFlags $drvPath > /dev/null'") != 0) {
 | 
				
			||||||
    # If we couldn't run ssh or there was an ssh problem (indicated by
 | 
					    # If we couldn't run ssh or there was an ssh problem (indicated by
 | 
				
			||||||
    # exit code 255), then we return exit code 1; otherwise we assume
 | 
					    # exit code 255), then we return exit code 1; otherwise we assume
 | 
				
			||||||
    # that the builder failed, which we indicated to Nix using exit
 | 
					    # that the builder failed, which we indicate to Nix using exit
 | 
				
			||||||
    # code 100.  It's important to distinguish between the two because
 | 
					    # code 100.  It's important to distinguish between the two because
 | 
				
			||||||
    # the first is a transient failure and the latter is permanent.
 | 
					    # the first is a transient failure and the latter is permanent.
 | 
				
			||||||
    my $res = $? == -1 || ($? >> 8) == 255 ? 1 : 100;
 | 
					    my $res = $? == -1 || ($? >> 8) == 255 ? 1 : 100;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue