summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2009-04-30 13:09:52 +0000
committerGreg Sabino Mullane2009-04-30 13:09:52 +0000
commitf19b393669c46b49783a86412c2c0c5bd22c5863 (patch)
treeff8427024037d312bbfe6da53ad6063190eba588 /check_postgres.pl
parent668b60defbc7e71725a6a51b64b10d475e3f7a92 (diff)
More support for older versions of Postgres, other cleanups.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 8bd874cb3..978cea73c 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -1760,7 +1760,7 @@ sub verify_version {
ndie msg('die-nosetting', $setting);
}
my $val = $info2->{db}[0]{slurp};
- if ($val !~ /^on\b/) {
+ if ($val !~ /^\s*on\b/) {
ndie msg('die-noset', $action, $setting);
}
}