[check_postgres] [check_postgres.pl] Might as well say 1 instead of 0, to be accurate.

check_postgres at bucardo.org check_postgres at bucardo.org
Thu Jun 19 03:43:37 UTC 2008


Committed by Greg Sabino Mullane <greg at endpoint.com>

Might as well say 1 instead of 0, to be accurate.

---
 check_postgres.pl |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/check_postgres.pl b/check_postgres.pl
index 8dae8f5..3fa467c 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -1239,7 +1239,7 @@ sub check_backends {
 			return;
 		}
 		my $limit = $1;
-		add_ok qq{0 of $limit connections};
+		add_ok qq{1 of $limit connections};
 		return;
 	}
 
-- 
1.5.5.4



More information about the Check_postgres mailing list