- use proper variable name for termination callback block

This commit is contained in:
Pete Fritchman 2009-11-08 06:31:37 +00:00
parent 3a02fb6abd
commit 8b7b1b4623

View file

@ -35,7 +35,7 @@ module LogStash
Signal.trap("TERM") do
dying
$logger.warn "received SIGTERM, shutting down"
@termination_handler.call if @termination_handler
@termination_callback.call if @termination_callback
Process.waitall
if @pidfile_fd
@pidfile_fd.close