Corrected with rubocop cop 'Style/GlobalVars'.
This commit is contained in:
parent
cad3bf8842
commit
c1c35ce39e
2 changed files with 4 additions and 6 deletions
|
@ -187,8 +187,6 @@ Style/Documentation:
|
||||||
|
|
||||||
Style/CommentIndentation:
|
Style/CommentIndentation:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Style/GlobalVars:
|
|
||||||
Enabled: false
|
|
||||||
Lint/RescueException:
|
Lint/RescueException:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
Style/ClassVars:
|
Style/ClassVars:
|
||||||
|
|
|
@ -76,10 +76,10 @@ if ARGV[0] == 'start' && @options[:d]
|
||||||
Daemons.daemonize
|
Daemons.daemonize
|
||||||
|
|
||||||
# create pid file
|
# create pid file
|
||||||
$daemon_pid = File.new( @options[:i].to_s, 'w' )
|
daemon_pid = File.new( @options[:i].to_s, 'w' )
|
||||||
$daemon_pid.sync = true
|
daemon_pid.sync = true
|
||||||
$daemon_pid.puts(Process.pid.to_s)
|
daemon_pid.puts(Process.pid.to_s)
|
||||||
$daemon_pid.close
|
daemon_pid.close
|
||||||
end
|
end
|
||||||
|
|
||||||
@clients = {}
|
@clients = {}
|
||||||
|
|
Loading…
Reference in a new issue