summaryrefslogtreecommitdiff
path: root/lib/chef/provider/package/msu.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/provider/package/msu.rb')
-rw-r--r--lib/chef/provider/package/msu.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/chef/provider/package/msu.rb b/lib/chef/provider/package/msu.rb
index e1f0d53a9c..149d8ccbe1 100644
--- a/lib/chef/provider/package/msu.rb
+++ b/lib/chef/provider/package/msu.rb
@@ -125,9 +125,8 @@ class Chef
end
def extract_msu_contents(msu_file, destination)
- shellout = Mixlib::ShellOut.new("expand -f:* #{msu_file} #{destination}", { :timeout => @new_resource.timeout })
with_os_architecture(nil) do
- shellout.run_command
+ shell_out!("#{ENV['SYSTEMROOT']}\\system32\\expand.exe -f:* #{msu_file} #{destination}")
end
end