lib/henry/container.rb in henry-container-0.1.69 vs lib/henry/container.rb in henry-container-0.1.70
- old
+ new
@@ -157,10 +157,10 @@
children_pids.each do |child_pid|
begin
Process.kill('KILL', child_pid)
self.kill_children(child_pid)
- rescue Errno::ESRCH
+ rescue Errno::ESRCH, Errno::EPERM
end
end
rescue Errno::ENOENT
warn 'Can not cleanup this process children'
end