From f670b7ca5b7a67834530db855155b477231ed052 Mon Sep 17 00:00:00 2001 From: sophia Date: Tue, 11 May 2021 15:36:24 -0500 Subject: [PATCH] Output special character "%" printf the special character for "things" is % + STUFF, so if you want just a % you have to use the special character % and then combine it with % to get a single % --- lib/vagrant/ui.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/ui.rb b/lib/vagrant/ui.rb index 9cdb14aaa..8c3f95131 100644 --- a/lib/vagrant/ui.rb +++ b/lib/vagrant/ui.rb @@ -296,7 +296,7 @@ module Vagrant # This method handles actually outputting a message of a given type # to the console. def say(type, message, opts={}) - @client.output([message]) + @client.output([message.gsub("%", "%%")]) end [:detail, :info, :warn, :error, :output, :success].each do |method|