# HG changeset patch # User Dario Sestito # Date 1279109848 -3600 # Node ID f15fa527df95297991a8cfe87b6677c5fed7c54a # Parent 4bdc287cd2c73c65fdd67a82f7b05b6e56c8e729 Fix: bitops.pl reports an error if failure count is zero diff -r 4bdc287cd2c7 -r f15fa527df95 common/tools/bitops.pl --- a/common/tools/bitops.pl Wed Jul 14 12:29:45 2010 +0100 +++ b/common/tools/bitops.pl Wed Jul 14 13:17:28 2010 +0100 @@ -148,7 +148,7 @@ my $category = $1; my $count = $2; - if (!$category || !$count) + if (!$category || !defined $count || $count eq '') { print "ERROR: Category or count empty: \"$value\"\n"; return 1;