summaryrefslogtreecommitdiff
path: root/lib/chef/util/selinux.rb
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-05-23 15:57:41 -0700
committersersut <serdar@opscode.com>2013-05-23 15:57:41 -0700
commit62e530b00e6593b28b3f08b6dead75b961b92bcb (patch)
tree44d2f716f27eefd81da3e4c8f2e2fec1d6dbea70 /lib/chef/util/selinux.rb
parent5ac5a858ade3b92bf41994dddb8cd84b52f7245a (diff)
downloadchef-62e530b00e6593b28b3f08b6dead75b961b92bcb.tar.gz
Unit specs for selinux code.
Diffstat (limited to 'lib/chef/util/selinux.rb')
-rw-r--r--lib/chef/util/selinux.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/util/selinux.rb b/lib/chef/util/selinux.rb
index b40a365901..d195c6bd1f 100644
--- a/lib/chef/util/selinux.rb
+++ b/lib/chef/util/selinux.rb
@@ -49,7 +49,7 @@ class Chef
restorecon_command = recursive ? "#{restorecon_path} -R -r" : "#{restorecon_path} -R"
restorecon_command += " #{file_path}"
Chef::Log.debug("Restoring selinux security content with #{restorecon_command}")
- shell_out!(restorecon_command)
+ shell_out(restorecon_command)
else
Chef::Log.warn "Can not find 'restorecon' on the system. Skipping selinux security context restore."
end