From e2d8e3c6ee2e3d35d808ec5f7a12449118a2306c Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Wed, 1 Aug 2018 04:12:31 +0200 Subject: [PATCH] Remove unneeded RuboCop comment. --- Library/Homebrew/utils/fork.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/Library/Homebrew/utils/fork.rb b/Library/Homebrew/utils/fork.rb index 57ddbfae29..5087ca716c 100644 --- a/Library/Homebrew/utils/fork.rb +++ b/Library/Homebrew/utils/fork.rb @@ -26,11 +26,8 @@ module Utils ignore_interrupts(:quietly) do # the child will receive the interrupt and marshal it back begin socket = server.accept_nonblock - # rubocop:disable Lint/ShadowedException - # FIXME: https://github.com/bbatsov/rubocop/issues/4843 rescue Errno::EAGAIN, Errno::EWOULDBLOCK, Errno::ECONNABORTED, Errno::EPROTO, Errno::EINTR retry unless Process.waitpid(pid, Process::WNOHANG) - # rubocop:enable Lint/ShadowedException else socket.send_io(write) socket.close