Skip to content

Commit

Permalink
Update check_postgres.pl
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonfoz committed Sep 4, 2023
1 parent 498f4d4 commit 91f7d40
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 @@ -6171,7 +6171,7 @@ sub check_logfile {
ndie msg('logfile-stderr');
}
}
elseif ($i->{log_destination} eq 'csvlog') {
elsif ($i->{log_destination} eq 'csvlog') {
$logfile = "$i->{'data_directory'}/$i->{log_directory}/$i->{log_filename}";
$logfile =~ s/\.log$/\.csv/;
}
Expand Down

0 comments on commit 91f7d40

Please sign in to comment.