1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00

typo: argv should be args here (#1174)

- see #1114
This commit is contained in:
Olle Jonsson 2016-12-14 14:47:15 +01:00 committed by Nate Berkopec
parent 0fd42b8fca
commit 017348f40d

View file

@ -256,7 +256,7 @@ module Puma
wild = File.expand_path(File.join(puma_lib_dir, "../bin/puma-wild"))
args = [Gem.ruby, wild, '-I', dirs.join(':'), deps.join(',')] + @original_argv
# Ruby 2.0+ defaults to true which breaks socket activation
argv += [{:close_others => false}] if RUBY_VERSION >= '2.0'
args += [{:close_others => false}] if RUBY_VERSION >= '2.0'
Kernel.exec(*args)
end
end