diff options
author | Greg Sabino Mullane | 2011-05-31 13:59:56 +0000 |
---|---|---|
committer | Greg Sabino Mullane | 2011-05-31 13:59:56 +0000 |
commit | 2d749a7abd2b9cc417dd1987e6df69fab40eaea7 (patch) | |
tree | f4da93d0e0c0db64d3c04390a8367cd2ae19a241 /check_postgres.pl | |
parent | 772e139bfea9d9fa891a60f3b5ca98a19e93bb9d (diff) |
Typo.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-x | check_postgres.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl index bda7d5762..fddda66b2 100755 --- a/check_postgres.pl +++ b/check_postgres.pl @@ -4036,7 +4036,7 @@ sub check_hot_standby_delay { } ## If the slave is "db1" and master "db2", go ahead and switch them around for clearer output - if (1 == $slave == 1) { + if (1 == $slave) { ($slave, $master) = (2, 1); for my $k (qw(host port dbname dbuser dbpass)) { ($opt{$k}, $opt{$k . 2}) = ($opt{$k . 2}, $opt{$k}); |