diff --git a/check_postgres.pl b/check_postgres.pl index c4779c31..4f1c5cd6 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -2874,11 +2874,9 @@ sub run_command { my ($mod,$ver) = ($1||'',$2); if ($mod eq '>' and $db->{version} > $ver) { $string = $row; - last; } if ($mod eq '<' and $db->{version} < $ver) { $string = $row; - last; } if ($mod eq '' and $db->{version} eq $ver) { $string = $row;