summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2021-04-29 23:30:15 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2021-04-29 23:30:15 -0700
commita1ca5cfd227d3a8a97471f4c4dd7ca2121d4ac88 (patch)
treef270db812c310cc271219a31bd0dde90a8846b41
parente6cb8f0dfe54e96b9b5cf48a3dc20b831ac5f15c (diff)
downloadchef-a1ca5cfd227d3a8a97471f4c4dd7ca2121d4ac88.tar.gz
fix error handling
Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
-rw-r--r--lib/chef/provider/package/yum/python_helper.rb2
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