diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-01 15:56:13 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2016-12-13 13:31:50 -0800 |
commit | 3493a98fb4f48476c4af86b5d58bfc7a66d149d9 (patch) | |
tree | 2ad579522a82728dad123a598ea5c3973489f158 | |
parent | 8bf56eae2de37e6dcaa79cd83179a595b0260977 (diff) | |
download | chef-3493a98fb4f48476c4af86b5d58bfc7a66d149d9.tar.gz |
ignore kill failures
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/provider/package/dnf.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/dnf.rb b/lib/chef/provider/package/dnf.rb index 7f23f8a935..f599b3786e 100644 --- a/lib/chef/provider/package/dnf.rb +++ b/lib/chef/provider/package/dnf.rb @@ -70,7 +70,7 @@ class Chef def reap unless wait_thr.nil? - Process.kill("KILL", wait_thr.pid) + Process.kill("KILL", wait_thr.pid) rescue nil stdin.close unless stdin.nil? stdout.close unless stdout.nil? stderr.close unless stderr.nil? |