Skip to content

Commit

Permalink
Fix undefined var per issue 141
Browse files Browse the repository at this point in the history
  • Loading branch information
turnstep committed Apr 3, 2023
1 parent e755e70 commit cf2dc45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion check_postgres.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1792,7 +1792,7 @@ package check_postgres;
our $VERBOSE = $opt{verbose} || 0;
$VERBOSE = 5 if $opt{vv};

our $OUTPUT = lc($opt{output} || '');
our $OUTPUT = lc($opt{output} // '');

## Allow the optimization of the get_methods list by an argument
if ($opt{get_method}) {
Expand Down Expand Up @@ -11379,6 +11379,8 @@ =head1 HISTORY
Allow commas in passwords via --dbpass for one-connection queries (Greg Sabino Mullane) [Github issue #133]
Fix undefined variable error (Greg Sabino Mullane) [Github issue #141]
=item B<Version 2.26.0> Released April 3, 2023
Expand Down

0 comments on commit cf2dc45

Please sign in to comment.