nix-build: Propagate exit status from nix-store -r
This commit is contained in:
		
							parent
							
								
									ccd4fe5c49
								
							
						
					
					
						commit
						c6e85ee474
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -274,7 +274,7 @@ foreach my $expr (@exprs) { | |||
|     while (<OUTPATHS>) {chomp; push @outPaths, $_;} | ||||
|     if (!close OUTPATHS) { | ||||
|         die "nix-store killed by signal " . ($? & 127) . "\n" if ($? & 127); | ||||
|         exit 1; | ||||
|         exit $? >> 8 || 1; | ||||
|     } | ||||
| 
 | ||||
|     next if $dryRun; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue