diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2021-04-29 23:30:15 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2021-04-29 23:30:15 -0700 |
commit | a1ca5cfd227d3a8a97471f4c4dd7ca2121d4ac88 (patch) | |
tree | f270db812c310cc271219a31bd0dde90a8846b41 | |
parent | e6cb8f0dfe54e96b9b5cf48a3dc20b831ac5f15c (diff) | |
download | chef-a1ca5cfd227d3a8a97471f4c4dd7ca2121d4ac88.tar.gz |
fix error handling
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r-- | lib/chef/provider/package/yum/python_helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/yum/python_helper.rb b/lib/chef/provider/package/yum/python_helper.rb index 288016a296..907f2ea4ad 100644 --- a/lib/chef/provider/package/yum/python_helper.rb +++ b/lib/chef/provider/package/yum/python_helper.rb @@ -163,7 +163,7 @@ class Chef outpipe.syswrite json + "\n" output = inpipe.sysread(4096).chomp Chef::Log.trace "got '#{output}' from python helper" - return output + output end end |