From 292d226717dfffe959d3d48e9b9e7e533da69641 Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Fri, 15 Jun 2018 14:12:39 -0700 Subject: Unification of shell_out APIs converts all usage to just shell_out() from the numerous helper utilities that we've had previously. Signed-off-by: Lamont Granquist --- lib/chef/util/selinux.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/chef/util') diff --git a/lib/chef/util/selinux.rb b/lib/chef/util/selinux.rb index 0d973b0376..fb0c98cff5 100644 --- a/lib/chef/util/selinux.rb +++ b/lib/chef/util/selinux.rb @@ -52,7 +52,7 @@ class Chef restorecon_flags << "-r" if recursive restorecon_flags << file_path Chef::Log.trace("Restoring selinux security content with #{restorecon_path}") - shell_out_compact!(restorecon_path, restorecon_flags) + shell_out!(restorecon_path, restorecon_flags) else Chef::Log.warn "Can not find 'restorecon' on the system. Skipping selinux security context restore." end -- cgit v1.2.1