fixup: new check-g2-compat, lots of migration related changes

redis
Sitaram Chamarty 2012-03-25 11:06:28 +05:30
parent 3ed923f503
commit 8de959476f
1 changed files with 9 additions and 0 deletions

View File

@ -85,3 +85,12 @@ sub repo {
msg( WARNING => "found " . scalar(@perms) . " gl-perms files with R or RW; see docs" );
}
}
sub msg {
my ( $type, $text ) = @_;
print "$type" if $type;
print "\t$text\n";
exit 1 if $type eq 'FATAL';
$count{$type}++ if $type;
}