mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
AIX packages
This commit is contained in:
parent
1d99afe623
commit
a0bbb175c2
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ class BffPkg < PkgManagement
|
|||
cmd = inspec.command("lslpp -cL #{package_name}")
|
||||
return nil if cmd.exit_status.to_i != 0
|
||||
|
||||
bff_pkg = cmd.stdout.split("\n").last.split(':')
|
||||
bff_pkg = cmd.stdout.chomp.split("\n").last.split(':')
|
||||
{
|
||||
name: bff_pkg[1],
|
||||
installed: true,
|
||||
|
|
Loading…
Reference in a new issue