Config Conversion: Fix global macros requiring escape_str() call.

fixes #4703
This commit is contained in:
Michael Friedrich 2013-09-13 09:56:25 +02:00
parent 7827d14ece
commit 2d991703d6
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ sub parse_icinga1_resource_cfg {
$macro_name =~ /\$(.*)\$/;
$macro_name = $1;
$global_macros->{$macro_name} = $macro_value;
$global_macros->{$macro_name} = Icinga2::Utils::escape_str($macro_value);
}
return $global_macros;