summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2010-12-30 18:17:32 +0000
committerGreg Sabino Mullane2010-12-30 18:17:32 +0000
commitf6616867215e4e0674dddb3e8b49231ddc2e2650 (patch)
treea9f3f0f2f3fe84466b18411ba78bf8a134fc57cf
parent16e5f80256459bd240c661ccc9162c06c4b362ab (diff)
Make txn_idle show OK if none found.2.15.3
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index 17dea5efa..8b14e3d09 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -6827,7 +6827,7 @@ sub check_txn_idle {
}
$db->{perf} .= msg('maxtime', $max);
if ($max < 0) {
- add_unknown msg('txnidle-none');
+ add_ok msg('txnidle-none');
next;
}