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

Fix syntax warning

This commit is contained in:
Evan Phoenix 2015-11-06 11:00:49 -08:00
parent 8569e5f0ef
commit 65bfee0171

View file

@ -263,7 +263,7 @@ module Puma
events = Puma::Events.new @stdout, @stderr
# replace $0 because puma use it to generate restart command
puma_cmd = $0.gsub /pumactl$/, 'puma'
puma_cmd = $0.gsub(/pumactl$/, 'puma')
$0 = puma_cmd if File.exist?(puma_cmd)
cli = Puma::CLI.new run_args, events