Fix #5514
This commit is contained in:
parent
e06e413d86
commit
43f885fc2b
|
@ -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…
Reference in New Issue