mirror of
https://github.com/inspec/inspec
synced 2024-11-23 21:23:29 +00:00
superflous chomp
This commit is contained in:
parent
b6649dd581
commit
d5a7bad414
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.chomp.split("\n").last.split(':')
|
||||
bff_pkg = cmd.stdout.split("\n").last.split(':')
|
||||
{
|
||||
name: bff_pkg[1],
|
||||
installed: true,
|
||||
|
|
Loading…
Reference in a new issue