mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-22 13:14:51 +02:00
Fix #5514
This commit is contained in:
parent
4a50af1a7b
commit
4876f88597
@ -212,7 +212,7 @@ sub range_perfdata {
|
||||
return if ($self->{range_perfdata} == 0);
|
||||
if ($self->{range_perfdata} == 1) {
|
||||
for (my $i = 0; $i < scalar(@{$options{ranges}}); $i++) {
|
||||
${${$options{ranges}}[$i]} =~ s/^(@)?-?[0\.]+:/$1/;
|
||||
${${$options{ranges}}[$i]} =~ s/^(@?)-?[0\.]+:/$1/;
|
||||
}
|
||||
} else {
|
||||
for (my $i = 0; $i < scalar(@{$options{ranges}}); $i++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user