diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/utils/fork.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/utils/fork.rb b/Library/Homebrew/utils/fork.rb index 24b78e5dd..5c364713b 100644 --- a/Library/Homebrew/utils/fork.rb +++ b/Library/Homebrew/utils/fork.rb @@ -30,6 +30,7 @@ module Utils retry unless Process.waitpid(pid, Process::WNOHANG) else socket.send_io(write) + socket.close end write.close data = read.read |
