Fix error reporting bug

There's no "command" variable; it should be "cmd". This bug causes it to print an unhelpful exception if the Docker command fails.
This commit is contained in:
Michael Louis Thaler 2014-05-06 17:46:09 -04:00
parent 48f5b0d53b
commit 9dcc53673a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ module VagrantPlugins
if result.exit_code != 0 && !interrupted
raise Errors::ExecuteError,
command: command.inspect,
command: cmd.inspect,
stderr: result.stderr,
stdout: result.stdout
end