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:
parent
8569e5f0ef
commit
65bfee0171
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue