providers/docker: make sure command isn't scoped

This commit is contained in:
Mitchell Hashimoto 2014-05-07 15:12:30 -07:00
parent 61caaa00c6
commit b2f9e86135
1 changed files with 1 additions and 0 deletions

View File

@ -28,6 +28,7 @@ module VagrantPlugins
# Parse out the extra args to send to SSH, which is everything # Parse out the extra args to send to SSH, which is everything
# after the "--" # after the "--"
command = nil
split_index = @argv.index("--") split_index = @argv.index("--")
if split_index if split_index
command = @argv.drop(split_index + 1) command = @argv.drop(split_index + 1)