summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Sabino Mullane2008-09-30 18:40:02 +0000
committerGreg Sabino Mullane2008-09-30 18:40:02 +0000
commitce8e01dbcb292e3aeeba6eac36a60df21a2e9d9c (patch)
tree684c8b05c228fdb68a5bf83e821cf2dd051aafcd
parente3796e9938159d8d23db0b2f5a386862b2f8a72b (diff)
Change some remaining 'my's to 'our's
-rwxr-xr-xcheck_postgres.pl6
1 files changed, 3 insertions, 3 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index ef6dcacc8..4e6402e97 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} || '';