Merge pull request #4454 from npvisual/master

Fix for issue #4452 : undefined stdout in communicator.rb
This commit is contained in:
Mitchell Hashimoto 2014-09-03 19:44:46 -07:00
commit 7936994537
1 changed files with 1 additions and 1 deletions

View File

@ -570,7 +570,7 @@ module VagrantPlugins
raise Vagrant::Errors::SSHInvalidShell.new
end
data = stdout[/.*#{PTY_DELIM_START}(.*?)#{PTY_DELIM_END}/m, 1]
data = pty_stdout[/.*#{PTY_DELIM_START}(.*?)#{PTY_DELIM_END}/m, 1]
@logger.debug("PTY stdout parsed: #{data}")
yield :stdout, data if block_given?
end