VirtualBox driver can handle Windows-style newlines
This commit is contained in:
parent
4b52c39733
commit
a7bde74cf3
|
@ -498,8 +498,9 @@ module Vagrant
|
|||
end
|
||||
end
|
||||
|
||||
# Return the output
|
||||
r.stdout
|
||||
# Return the output, making sure to replace any Windows-style
|
||||
# newlines with Unix-style.
|
||||
r.stdout.gsub("\r\n", "\n")
|
||||
end
|
||||
|
||||
# Executes a command and returns the raw result object.
|
||||
|
|
Loading…
Reference in New Issue