Ok :)
This commit is contained in:
parent
be336da8d6
commit
6e655751d4
@ -352,13 +352,10 @@ sub compute ($$$;$$$)
|
|||||||
if ($glob ne $ref)
|
if ($glob ne $ref)
|
||||||
{
|
{
|
||||||
my $value = 0;
|
my $value = 0;
|
||||||
for my $r (grep { match_glob($ref, $_); } keys %$ids)
|
for my $r (grep { match_glob($ref, $_); } keys %$ids) {
|
||||||
{
|
|
||||||
log DEBUG, "$glob match $r (expanded from $ref)";
|
|
||||||
$value += $ids->{ $r };
|
$value += $ids->{ $r };
|
||||||
}
|
}
|
||||||
log DEBUG, "New $ref is now $value";
|
$ids->{ $ref } = $value if ($value);
|
||||||
$ids->{ $ref } = $value;
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
if ($@) {
|
if ($@) {
|
||||||
|
Reference in New Issue
Block a user