Write error messages about duplicate OIDs to stderr

This commit is contained in:
Peter Eisentraut 2018-04-30 14:18:46 -04:00
parent 33a1c2145c
commit c5679256e9
1 changed files with 2 additions and 2 deletions

View File

@ -137,8 +137,8 @@ my $found = 0;
foreach my $oid (keys %oidcounts)
{
next unless $oidcounts{$oid} > 1;
print "Duplicate oids detected:\n" if !$found;
print "$oid\n";
print STDERR "Duplicate OIDs detected:\n" if !$found;
print STDERR "$oid\n";
$found++;
}
die "found $found duplicate OID(s) in catalog data\n" if $found;