mirror of
https://github.com/webmin/webmin.git
synced 2026-06-09 22:40:23 +01:00
Fix to treat Dovecot add_config as a single file
This commit is contained in:
@@ -26,7 +26,9 @@ return undef;
|
||||
# directives
|
||||
sub get_add_config_file
|
||||
{
|
||||
foreach my $f (split(/\s+/, $config{'add_config'})) {
|
||||
my $f = $config{'add_config'};
|
||||
$f =~ s/^\s+|\s+$//g;
|
||||
if ($f) {
|
||||
return $f if (-r $f);
|
||||
}
|
||||
return &get_config_file();
|
||||
|
||||
Reference in New Issue
Block a user