Fix for issue #4452 : undefined stdout in communicator.rb
Fixes #4452. The stdout variable was changed during commit https://github.com/mitchellh/vagrant/commit/138aa5aad375ac0c076a0e0a3493 e25906ce0434 . This commit just corrects this omission.
This commit is contained in:
parent
03775b114a
commit
1bb61fb3f9
|
@ -570,7 +570,7 @@ module VagrantPlugins
|
||||||
raise Vagrant::Errors::SSHInvalidShell.new
|
raise Vagrant::Errors::SSHInvalidShell.new
|
||||||
end
|
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}")
|
@logger.debug("PTY stdout parsed: #{data}")
|
||||||
yield :stdout, data if block_given?
|
yield :stdout, data if block_given?
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue