diff --git a/bin/vagrant b/bin/vagrant index 564cbd947..b34464e81 100755 --- a/bin/vagrant +++ b/bin/vagrant @@ -17,6 +17,9 @@ opts = {} # Disable color if the proper argument was passed if !$stdout.tty? || ARGV.include?("--no-color") + # Delete the argument from the list so that it doesn't cause any + # invalid arguments down the road. + ARGV.delete("--no-color") opts[:ui_class] = Vagrant::UI::Basic else opts[:ui_class] = Vagrant::UI::Colored