From dcecb46cbd66aa9ae654df303794b5ffb19dd751 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 16 Jan 2014 22:08:41 -0800 Subject: [PATCH] core: default a value to avoid potential exception in SShRun --- lib/vagrant/action/builtin/ssh_run.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/vagrant/action/builtin/ssh_run.rb b/lib/vagrant/action/builtin/ssh_run.rb index 59b16f325..a28636f51 100644 --- a/lib/vagrant/action/builtin/ssh_run.rb +++ b/lib/vagrant/action/builtin/ssh_run.rb @@ -43,6 +43,7 @@ module Vagrant # Execute! opts = env[:ssh_opts] || {} + opts[:extra_args] ||= [] # Allow the user to specify a tty or non-tty manually, but if they # don't then we default to a TTY