Skip to content

Commit 355ec15

Browse files
e100Sean OMeara
authored andcommitted
[COOK-4210] - remove unneeded run_command to prevent zombie processes
Signed-off-by: Sean OMeara <[email protected]>
1 parent 0f0aa3e commit 355ec15

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

providers/ark.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ def download_direct_from_oracle(tarball_name, new_resource)
226226
description = "Set alternative for #{cmd}"
227227
converge_by(description) do
228228
Chef::Log.debug "Setting alternative for #{cmd}"
229-
set_cmd = shell_out("update-alternatives --set #{cmd} #{alt_path}").run_command
229+
set_cmd = shell_out("update-alternatives --set #{cmd} #{alt_path}")
230230
unless set_cmd.exitstatus == 0
231231
Chef::Application.fatal!(%Q[ set alternative failed ])
232232
end

0 commit comments

Comments
 (0)