Skip to content

Commit d720417

Browse files
author
David Christensen
committed
Fix another version-detection issue in connections action
1 parent d9505e4 commit d720417

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

check_postgres.pl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4615,7 +4615,7 @@ sub check_connection {
46154615
return;
46164616
}
46174617

4618-
my $ver = ($db->{slurp}[0]{v} =~ /(\d+\.\d+\S+)/) ? $1 : '';
4618+
my $ver = ($db->{slurp}[0]{v} =~ /((?:\b1\d\S+)|(?:\d+\.\d+\S+))/) ? $1 : '';
46194619

46204620
$MRTG and do_mrtg({one => $ver ? 1 : 0});
46214621

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy