aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-05 19:25:13 +0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-12-05 19:25:13 +0100
commitbf78a27ac995edcd34d821b9ef9061b475f51b67 (patch)
tree47bf2bf4ac1a6416ff20a8fb4fb87365994b3780 /scripts
parentf43a8ede931a4173fc0dd24463bfad873e56a7da (diff)
Fix another operator precedence issue found by Perl 5.20
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/nix-build.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-build.in b/scripts/nix-build.in
index f8cf318ff..9127d90b2 100755
--- a/scripts/nix-build.in
+++ b/scripts/nix-build.in
@@ -276,7 +276,7 @@ foreach my $expr (@exprs) {
while (<OUTPATHS>) {chomp; push @outPaths, $_;}
if (!close OUTPATHS) {
die "nix-store killed by signal " . ($? & 127) . "\n" if ($? & 127);
- exit $? >> 8 || 1;
+ exit ($? >> 8 || 1);
}
next if $dryRun;