Skip to content

Commit

Permalink
fix module list on c7
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Detjens <[email protected]>
  • Loading branch information
detjensrobert committed Aug 20, 2021
1 parent 3118472 commit 681fbe6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/module.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def selinux_module_filepath(type)
end

def list_installed_modules
shell_out!('semodule --list-modules').stdout.split("\n")
shell_out!('semodule --list-modules').stdout.split("\n").map{ |x| x.split(/\s/)[0] }
end
end

Expand Down

0 comments on commit 681fbe6

Please sign in to comment.