[check_postgres] [commit] Change some remaining 'my's to 'our's
check_postgres at bucardo.org
check_postgres at bucardo.org
Tue Sep 30 18:40:22 UTC 2008
Committed by Greg Sabino Mullane <greg at endpoint.com>
Change some remaining 'my's to 'our's
---
check_postgres.pl | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/check_postgres.pl b/check_postgres.pl
index ef6dcac..4e6402e 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -159,9 +159,9 @@ if ($OUTPUT ne 'nagios' and $OUTPUT ne 'mrtg' and $OUTPUT ne 'simple') {
die qq{Invalid output: must be 'nagios' or 'mrtg' or 'simple'\n};
}
-my $MRTG = ($OUTPUT eq 'mrtg' or $OUTPUT eq 'simple') ? 1 : 0;
-my (%stats, %statsmsg);
-my $SIMPLE = $OUTPUT eq 'simple' ? 1 : 0;
+our $MRTG = ($OUTPUT eq 'mrtg' or $OUTPUT eq 'simple') ? 1 : 0;
+our (%stats, %statsmsg);
+our $SIMPLE = $OUTPUT eq 'simple' ? 1 : 0;
## See if we need to invoke something based on our name
our $action = $opt{action} || '';
--
1.5.5.4
More information about the Check_postgres
mailing list