summary refs log tree commit diff
path: root/bin/bacon
diff options
context:
space:
mode:
Diffstat (limited to 'bin/bacon')
-rwxr-xr-xbin/bacon9
1 files changed, 1 insertions, 8 deletions
diff --git a/bin/bacon b/bin/bacon
index 4ed32e0..ad70263 100755
--- a/bin/bacon
+++ b/bin/bacon
@@ -97,14 +97,7 @@ end
 require 'bacon'
 
 Bacon.extend Bacon.const_get(output)
-at_exit {
-  Bacon.handle_summary
-  if $!
-    raise $!
-  elsif Bacon::Counter[:errors] + Bacon::Counter[:failed] > 0
-    exit 1
-  end
-}
+Bacon.summary_on_exit
 
 files.each { |file|
   load file