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 end
def restart_on_stop! def restart_on_stop!
if @restart_argv @restart = true
@restart = true
return true
else
return false
end
end end
def generate_restart_data def generate_restart_data