lib/foreman/engine.rb in foreman-0.74.0 vs lib/foreman/engine.rb in foreman-0.75.0
- old
+ new
@@ -367,10 +367,10 @@
end
end
def read_self_pipe
@selfpipe[:reader].read_nonblock(11)
- rescue Errno::EAGAIN, Errno::EINTR => err
+ rescue Errno::EAGAIN, Errno::EINTR, Errno::EBADF
# ignore
end
def handle_signals
while sig = Thread.main[:signal_queue].shift