From 91cd716b8b3dca70a8beb2bf5b31ca76372a0ab5 Mon Sep 17 00:00:00 2001 From: Jordi Sanfeliu Date: Fri, 7 May 2021 09:50:30 +0200 Subject: [PATCH] added support of the new '-s' argument when loading the extra configuration file --- monitorix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monitorix b/monitorix index 6ddb5de..6fee925 100755 --- a/monitorix +++ b/monitorix @@ -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)) {