From 47de3225dd6dd76dc2af16fd26f51a6107541364 Mon Sep 17 00:00:00 2001 From: Fabian Ruff Date: Thu, 31 Jul 2014 11:32:25 +0200 Subject: [PATCH] Subprocess: respect listeners on final yield --- lib/vagrant/util/subprocess.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/util/subprocess.rb b/lib/vagrant/util/subprocess.rb index fe3b5cf01..79d939eee 100644 --- a/lib/vagrant/util/subprocess.rb +++ b/lib/vagrant/util/subprocess.rb @@ -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"