summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
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 2dc16b6c4..e0950f420 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -7928,7 +7928,7 @@ sub check_txn_idle {
}
## Return unknown if stats_command_string / track_activities is off
- if ($cq =~ /disabled/o or $cq =~ /<command string not enabled>/) {
+ if ($st =~ /disabled/o or $cq =~ /<command string not enabled>/) {
add_unknown msg('psa-disabled');
return;
}