mirror of https://github.com/mikaku/Monitorix.git
added support of the new '-s' argument when loading the extra configuration file
This commit is contained in:
parent
d635ae248a
commit
91cd716b8b
|
@ -579,6 +579,7 @@ if($config{include_dir} && opendir(DIR, $config{include_dir})) {
|
||||||
logger("Loading extra configuration file '$config{include_dir}/$c'.");
|
logger("Loading extra configuration file '$config{include_dir}/$c'.");
|
||||||
my $conf_inc = new Config::General(
|
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;
|
my %config_inc = $conf_inc->getall;
|
||||||
while(my ($key, $val) = each(%config_inc)) {
|
while(my ($key, $val) = each(%config_inc)) {
|
||||||
|
|
Loading…
Reference in New Issue