summaryrefslogtreecommitdiffstats
path: root/lib/puppet/util/selinux.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/util/selinux.rb')
-rw-r--r--lib/puppet/util/selinux.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/puppet/util/selinux.rb b/lib/puppet/util/selinux.rb
index 8c1aecf3b..d91a6943a 100644
--- a/lib/puppet/util/selinux.rb
+++ b/lib/puppet/util/selinux.rb
@@ -106,8 +106,8 @@ module Puppet::Util::SELinux
flag = ""
end
- Puppet.debug "Running chcon #{flag} #{value} #{file}"
- retval = system("chcon #{flag} #{value} #{file}")
+ Puppet.debug "Running chcon -h #{flag} #{value} #{file}"
+ retval = system("chcon -h #{flag} #{value} #{file}")
unless retval
error = Puppet::Error.new("failed to chcon %s" % [@resource[:path]])
raise error