about summary refs log tree commit homepage
path: root/lib/zbatery.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/zbatery.rb')
-rw-r--r--lib/zbatery.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/zbatery.rb b/lib/zbatery.rb
index 735b1e6..5d208b1 100644
--- a/lib/zbatery.rb
+++ b/lib/zbatery.rb
@@ -82,6 +82,7 @@ module Rainbows
       trap(:USR1) { Thread.new { reopen_logs } }
       trap(:USR2) { Thread.new { reexec } }
       trap(:HUP) { Thread.new { reexec; stop } }
+      trap(:CHLD, "DEFAULT")
 
       # technically feasible in some cases, just not sanely supportable:
       %w(TTIN TTOU WINCH).each do |sig|