Fix command name with special chars not being migrated.

Fixes #5234
This commit is contained in:
Michael Friedrich 2013-11-27 15:03:55 +01:00
parent 29115f4fd3
commit b67cf1f0cb
1 changed files with 3 additions and 0 deletions

View File

@ -1609,6 +1609,9 @@ sub convert_checkcommand {
# split by ! and take only the check command
my ($real_command_name_1x, @command_args_1x) = split /!/, $check_command;
# sanitize object name
$real_command_name_1x = strip_object_name($real_command_name_1x);
# ignore objects with empty check_command attribute
#return if (!defined($real_command_name_1x));