Commit 4f63a2fff6a293f19bf5fe45362df58a5b5b9f1a:
    Success may be indicated with a nil value for $!


Branch: refs/heads/master
Author: Sam Ruby <[email protected]>
Committer: Sam Ruby <[email protected]>
Pusher: rubys <[email protected]>

------------------------------------------------------------
tools/collate_minutes.rb                                     | +++++ -
------------------------------------------------------------
6 changes: 5 additions, 1 deletions.
------------------------------------------------------------


diff --git a/tools/collate_minutes.rb b/tools/collate_minutes.rb
index 1b69a39..313479f 100755
--- a/tools/collate_minutes.rb
+++ b/tools/collate_minutes.rb
@@ -8,7 +8,11 @@
 require 'fileutils'
 
 # for monitoring purposes
-at_exit { puts "\n*** Exception #{$!.class} ***" unless SystemExit === $! }
+at_exit do
+  if $1 and not $1.instance_of? SystemExit
+    puts "\n*** Exception #{$!.class} ***"
+  end
+end
 
 # destination directory
 SITE_MINUTES = ASF::Config.get(:board_minutes) ||

Reply via email to