Skip to content

Commit

Permalink
SIGKILL can't be trapped, so don't try
Browse files Browse the repository at this point in the history
The SIGKILL signal [cannot be trapped or ignored](http://en.wikipedia.org/wiki/Unix_signal#SIGKILL), so we shouldn't try.  Newer versions of Ruby will raise an exception if you try to trap this signal.
  • Loading branch information
tenderlove committed Mar 23, 2015
1 parent 6b4e4ef commit 0c5d607
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vmdb/lib/workers/worker_base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class WorkerBase
attr_accessor :last_hb, :worker, :worker_settings
attr_reader :vmdb_config, :active_roles

INTERRUPT_SIGNALS = ["INT", "TERM", "KILL"]
INTERRUPT_SIGNALS = ["INT", "TERM"]

OPTIONS_PARSER_SETTINGS = [
[:guid, 'EVM Worker GUID', String],
Expand Down

0 comments on commit 0c5d607

Please sign in to comment.