Skip to content

Commit

Permalink
ignore <BAD INDEX> value from dmidecode
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonéri Le Bouder committed Jul 12, 2012
1 parent 33b9b5d commit 6bffb44
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/FusionInventory/Agent/Tools/Generic.pm
Expand Up @@ -53,6 +53,7 @@ sub getDmidecodeInfos {
next if
$2 eq 'N/A' ||
$2 eq 'Not Specified' ||
$2 eq '<BAD INDEX>' ||
$2 eq 'Not Present' ;

$block->{$1} = $2;
Expand Down

0 comments on commit 6bffb44

Please sign in to comment.