superflous chomp

This commit is contained in:
Jeremy W. Chalfant 2015-12-23 13:32:32 -06:00 committed by Christoph Hartmann
parent b6649dd581
commit d5a7bad414

View file

@ -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,