added support of the new '-s' argument when loading the extra configuration file

This commit is contained in:
Jordi Sanfeliu 2021-05-07 09:50:30 +02:00
parent d635ae248a
commit 91cd716b8b
1 changed files with 2 additions and 1 deletions

View File

@ -578,7 +578,8 @@ if($config{include_dir} && opendir(DIR, $config{include_dir})) {
next unless $c =~ m/\.conf$/;
logger("Loading extra configuration file '$config{include_dir}/$c'.");
my $conf_inc = new Config::General(
-ConfigFile => $config{include_dir} . "/$c",
-ConfigFile => $config{include_dir} . "/$c",
-SplitPolicy => $options{s},
);
my %config_inc = $conf_inc->getall;
while(my ($key, $val) = each(%config_inc)) {