Skip to content

Commit

Permalink
Merge pull request #4454 from npvisual/master
Browse files Browse the repository at this point in the history
Fix for issue #4452 : undefined stdout in communicator.rb
  • Loading branch information
mitchellh committed Sep 4, 2014
2 parents 03775b1 + 1bb61fb commit 7936994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/communicators/ssh/communicator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ def shell_execute(connection, command, **opts)
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
Expand Down

0 comments on commit 7936994

Please sign in to comment.