summaryrefslogtreecommitdiff
path: root/check_postgres.pl
diff options
context:
space:
mode:
authorGreg Sabino Mullane2009-04-10 16:30:48 +0000
committerGreg Sabino Mullane2009-04-10 16:30:48 +0000
commit524db099f2f7eab3fa248fffc4e516194fabb517 (patch)
treee8a7986421100e0f665b15392925a3e0ad9241b0 /check_postgres.pl
parent5425d90daa596168714e0b57cc4d56641f77859a (diff)
Finally fix the space-in-directory issues - Jeff Boes.
Diffstat (limited to 'check_postgres.pl')
-rwxr-xr-xcheck_postgres.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/check_postgres.pl b/check_postgres.pl
index b09d324af..c46f2d3fa 100755
--- a/check_postgres.pl
+++ b/check_postgres.pl
@@ -1409,7 +1409,7 @@ sub run_command {
}
if (defined $opt{$v}->[$gbin]) {
my $new = $opt{$v}->[$gbin];
- $new =~ s/\s+//g unless $vname eq 'dbservice';
+ $new =~ s/\s+//g unless $vname eq 'dbservice' or $vname eq 'host';
## Set this as the new default
$conn->{$vname} = [split /,/ => $new];
$foundgroup = 1;