about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--lib/unicorn.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/unicorn.rb b/lib/unicorn.rb
index 31af720..42ac8c0 100644
--- a/lib/unicorn.rb
+++ b/lib/unicorn.rb
@@ -473,6 +473,8 @@ module Unicorn
               # timeout used so we can detect parent death:
               ret = IO.select(@listeners, nil, nil, @timeout/2.0) or next
               ready = ret[0]
+            rescue Errno::EINTR
+              ready = @listeners
             rescue Errno::EBADF => e
               exit(alive ? 1 : 0)
             end