Merge pull request #4273 from databus23/patch-1

core: respect subprocess listeners on final yield
This commit is contained in:
Mitchell Hashimoto 2014-07-31 08:48:51 -07:00
commit 1615325e46
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ module Vagrant
@logger.debug("#{io_name}: #{extra_data.chomp}") @logger.debug("#{io_name}: #{extra_data.chomp}")
# Yield to any listeners any remaining data # Yield to any listeners any remaining data
yield io_name, extra_data if block_given? yield io_name, extra_data if block_given? && notify_table[io_name]
end end
if RUBY_PLATFORM == "java" if RUBY_PLATFORM == "java"