From 8d1cc513ec1a7fa9ba8f80da7f5c461edc07b149 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20L=C3=B3pez?= Date: Sun, 19 Jan 2014 14:34:32 +0000 Subject: [PATCH] Fixed: dup string if frozen when formatting output for machine. --- lib/vagrant/ui.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vagrant/ui.rb b/lib/vagrant/ui.rb index d7f11dd04..9657ee433 100644 --- a/lib/vagrant/ui.rb +++ b/lib/vagrant/ui.rb @@ -84,6 +84,7 @@ module Vagrant # Prepare the data by replacing characters that aren't outputted data.each_index do |i| data[i] = data[i].to_s + data[i] = data[i].dup if data[i].frozen? data[i].gsub!(",", "%!(VAGRANT_COMMA)") data[i].gsub!("\n", "\\n") data[i].gsub!("\r", "\\r")