Subprocess: respect listeners on final yield

This commit is contained in:
Fabian Ruff 2014-07-31 11:32:25 +02:00
parent 89beb695f2
commit 47de3225dd
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ module Vagrant
@logger.debug("#{io_name}: #{extra_data.chomp}")
# 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
if RUBY_PLATFORM == "java"