diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-09 12:24:46 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-08-16 18:41:25 -0700 |
commit | c030f338ab37a5ce16de5b31006a278ac3767ca4 (patch) | |
tree | 72f9fcd1bd8aeb4d7372da0d58118baecf2d7468 /spec/support | |
parent | 5d07da13f9909ea500ed8d76e83512f91ea3e461 (diff) | |
download | chef-c030f338ab37a5ce16de5b31006a278ac3767ca4.tar.gz |
autofixing Style/RedundantException cop
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/platform_helpers.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb index 9ba56a15e3..4b727a18ca 100644 --- a/spec/support/platform_helpers.rb +++ b/spec/support/platform_helpers.rb @@ -169,7 +169,7 @@ def selinux_enabled? when 0 return true else - raise RuntimeError, "Unknown exit code from command #{selinuxenabled_path}: #{cmd.exitstatus}" + raise "Unknown exit code from command #{selinuxenabled_path}: #{cmd.exitstatus}" end else # We assume selinux is not enabled if selinux utils are not |