diff options
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 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; |