mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 06:37:19 -04:00
- use proper variable name for termination callback block
This commit is contained in:
parent
3a02fb6abd
commit
8b7b1b4623
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue