Fix cpu option Refs #5152

This commit is contained in:
Kevin Duret 2014-09-08 10:44:19 +02:00
parent ac1e0c7be2
commit ac35baf1fc
1 changed files with 2 additions and 2 deletions

View File

@ -120,8 +120,8 @@ sub check_options {
if (defined($self->{option_results}->{cpu})) {
$self->{statefile_cache}->check_options(%options);
# Construct filter for file cache (avoid one check erase one other)
my %labels = ('process_name', 'regexp_name', 'process_path', 'regexp_path', 'process_args', 'regexp_args', 'process_status');
foreach (keys %labels) {
my @labels = ('process_name', 'regexp_name', 'process_path', 'regexp_path', 'process_args', 'regexp_args', 'process_status');
foreach (@labels) {
if (defined($self->{option_results}->{$_})) {
$self->{filter4md5} .= ',' . $self->{option_results}->{$_};
}