We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0f0aa3e commit 355ec15Copy full SHA for 355ec15
providers/ark.rb
@@ -226,7 +226,7 @@ def download_direct_from_oracle(tarball_name, new_resource)
226
description = "Set alternative for #{cmd}"
227
converge_by(description) do
228
Chef::Log.debug "Setting alternative for #{cmd}"
229
- set_cmd = shell_out("update-alternatives --set #{cmd} #{alt_path}").run_command
+ set_cmd = shell_out("update-alternatives --set #{cmd} #{alt_path}")
230
unless set_cmd.exitstatus == 0
231
Chef::Application.fatal!(%Q[ set alternative failed ])
232
end
0 commit comments