summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2011-09-08 23:15:10 -0700
committerEric Anholt <eric@anholt.net>2012-05-08 12:07:08 -0700
commit8f9790319594262177c44ba6fefad085745af559 (patch)
tree16f5be673c53a40b476c7ca095cf39cc07d8042d
parent718c9beef680a7fe549cda571363610712460533 (diff)
Don't DBZ on crashes.
-rwxr-xr-xreport.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/report.pl b/report.pl
index d1ecf87..34838f3 100755
--- a/report.pl
+++ b/report.pl
@@ -56,7 +56,7 @@ while (my ($prog, $before_count) = each(%before)) {
next;
}
- if ($after_count > $before_count) {
+ if ($after_count > $before_count && $before_count != 0) {
$hurt_programs{$prog} = $after_count / $before_count;
}