Skip to content

Commit

Permalink
avoid a warning if the list is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
Gonéri Le Bouder committed Oct 19, 2012
1 parent 538d257 commit 67cea40
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/FusionInventory/Agent/Tools/Generic/License.pm
Expand Up @@ -54,6 +54,8 @@ sub getAdobeLicenses {
chomp($line);

my @f = split(/ <> /, $line);

next unless $f[3];

$f[1] =~ s/\{\|\}.*//;
$f[2] =~ s/\{\|\}.*//;
Expand Down

0 comments on commit 67cea40

Please sign in to comment.