aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Nagel2015-04-28 01:39:28 -0400
committerJack Nagel2015-04-28 01:39:28 -0400
commitc07da9485f836f438762b6347ab21b55fd6d9c4e (patch)
treec23f3f24fb39e2c6c32e92c2095441b563a75fd0
parentbae31c0b9ed0761e2f71c12b6f0fdf8629fd61d3 (diff)
downloadbrew-c07da9485f836f438762b6347ab21b55fd6d9c4e.tar.bz2
The forked build process should never run at_exit handlers
We don't use at_exit anywhere that matters, but the test framework does.
-rw-r--r--Library/Homebrew/utils/fork.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/utils/fork.rb b/Library/Homebrew/utils/fork.rb
index 6e94f250b..24b78e5dd 100644
--- a/Library/Homebrew/utils/fork.rb
+++ b/Library/Homebrew/utils/fork.rb
@@ -17,7 +17,9 @@ module Utils
rescue Exception => e
Marshal.dump(e, write)
write.close
- exit! 1
+ exit!
+ else
+ exit!(true)
end
end