From 69ad9d6039172e1ccf46b6320c9d5e960daebad5 Mon Sep 17 00:00:00 2001 From: Guillaume Lelarge Date: Fri, 22 Apr 2011 10:33:36 -0400 Subject: [PATCH] Fix typo in check_wal_files. --- check_postgres.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_postgres.pl b/check_postgres.pl index 33ede0950..41c99bc9d 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -7560,7 +7560,7 @@ sub check_wal_files { my ($warning, $critical) = validate_range({type => 'positive integer', leastone => 1}); ## Figure out where the pg_xlog directory is - $SQL = q{SELECT count(*) AS count FROM pg_ls_dir('pg_xlog') WHERE pg_ls_dir ~ E'^[0-9A-F]{24}$extrabit$'}; ## no critic (RequireInterpolationOfMetachars) + $SQL = qq{SELECT count(*) AS count FROM pg_ls_dir('pg_xlog') WHERE pg_ls_dir ~ E'^[0-9A-F]{24}$extrabit$'}; ## no critic (RequireInterpolationOfMetachars) my $info = run_command($SQL, {regex => qr[\d] }); -- 2.39.5