From 9dcc53673ab0f8675ee3915d1d2c94e2a88645d5 Mon Sep 17 00:00:00 2001 From: Michael Louis Thaler Date: Tue, 6 May 2014 17:46:09 -0400 Subject: [PATCH] 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. --- plugins/providers/docker/executor/local.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/providers/docker/executor/local.rb b/plugins/providers/docker/executor/local.rb index cbe111d20..c3fda2515 100644 --- a/plugins/providers/docker/executor/local.rb +++ b/plugins/providers/docker/executor/local.rb @@ -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