summaryrefslogtreecommitdiffstats
path: root/convert/verify_Cards.pl
diff options
context:
space:
mode:
Diffstat (limited to 'convert/verify_Cards.pl')
-rwxr-xr-xconvert/verify_Cards.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/convert/verify_Cards.pl b/convert/verify_Cards.pl
index d7ce8352..61d786f3 100755
--- a/convert/verify_Cards.pl
+++ b/convert/verify_Cards.pl
@@ -14,7 +14,10 @@ $cards = Xconfig::card::readCardsDB("../lst/Cards+");
foreach (@cards) {
$nb++;
if (!$cards->{$_}) {
- print STDERR "unknown card: $_\n";
+ warn "unknown card: $_\n";
+ $bad++;
+ } elsif (!$cards->{$_}{Driver}) {
+ warn "no Driver: $_\n";
$bad++;
}
}