Skip to content

Commit

Permalink
more fail-save date detection (for 5-digit years)
Browse files Browse the repository at this point in the history
  • Loading branch information
jw1u1 committed Oct 8, 2024
1 parent 12f7645 commit 398ba7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion check_postgres.pl
Original file line number Diff line number Diff line change
Expand Up @@ -3435,7 +3435,7 @@ sub setup_target_databases {
my $got_multiple = 0;
for my $v (keys %$conn) {
next if $v eq 'dbpass' or ! defined $opt{$v}[0];
my $num = 0; # $opt{$v}->@*;
my $num = $opt{$v}->@*;
if ($num > 1 or $opt{$v}[0] =~ /,/) {
$got_multiple = 1;
last;
Expand Down

0 comments on commit 398ba7c

Please sign in to comment.