summaryrefslogtreecommitdiff
path: root/lib/chef/monkey_patches/webrick-utils.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/chef/monkey_patches/webrick-utils.rb')
-rw-r--r--lib/chef/monkey_patches/webrick-utils.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/monkey_patches/webrick-utils.rb b/lib/chef/monkey_patches/webrick-utils.rb
index ccca5825e2..7f525f122f 100644
--- a/lib/chef/monkey_patches/webrick-utils.rb
+++ b/lib/chef/monkey_patches/webrick-utils.rb
@@ -44,7 +44,7 @@ module WEBrick
end
end
raise last_error if sockets.empty?
- return sockets
+ sockets
end
module_function :create_listeners
end