From bf78a27ac995edcd34d821b9ef9061b475f51b67 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Fri, 5 Dec 2014 19:25:13 +0100 Subject: [PATCH] Fix another operator precedence issue found by Perl 5.20 --- scripts/nix-build.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 () {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;