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

Since generate_restart_data always set restart_argv and it's called on initialize this can never be false

This commit is contained in:
Santiago Pastorino 2012-07-04 18:06:33 -03:00
parent d29ddd5fec
commit 5b789381ed

View file

@ -57,12 +57,7 @@ module Puma
end
def restart_on_stop!
if @restart_argv
@restart = true
return true
else
return false
end
@restart = true
end
def generate_restart_data