Skip to content

Commit

Permalink
Fix warning message
Browse files Browse the repository at this point in the history
Output actual signal being sent.
  • Loading branch information
Mark Pundsack committed Mar 8, 2013
1 parent ad18caf commit 0119f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/unicorn/worker_killer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def self.kill_self(logger, start_time)
sig = :KILL
end

logger.warn "#{self} send SIGTERM (pid: #{Process.pid}) alive: #{alive_sec} sec (trial #{i})"
logger.warn "#{self} send SIG#{sig} (pid: #{Process.pid}) alive: #{alive_sec} sec (trial #{i})"
Process.kill sig, Process.pid

sleep 1 # TODO configurable sleep
Expand Down

0 comments on commit 0119f7f

Please sign in to comment.