lib/bluepill/process.rb in bluepill-0.0.59 vs lib/bluepill/process.rb in bluepill-0.0.60

- old
+ new

@@ -365,10 +365,10 @@ def monitor_children? !!self.monitor_children end def signal_process(code) - code = code.to_s.upcase if code.is_a?(String) + code = code.to_s.upcase if code.is_a?(String) || code.is_a?(Symbol) ::Process.kill(code, actual_pid) true rescue Exception => e logger.err "Failed to signal process #{actual_pid} with code #{code}: #{e}" false