This commit is contained in:
Mitchell Hashimoto 2013-07-12 07:01:30 +09:00
parent bdac2a87ef
commit e52f8e0486
1 changed files with 2 additions and 2 deletions

View File

@ -40,8 +40,8 @@ func (s *stepShutdown) Run(state map[string]interface{}) multistep.StepAction {
var stdout, stderr bytes.Buffer
cmd := &packer.RemoteCmd{
Command: config.ShutdownCommand,
Stdout: &stdout,
Stderr: &stderr,
Stdout: &stdout,
Stderr: &stderr,
}
if err := comm.Start(cmd); err != nil {
err := fmt.Errorf("Failed to send shutdown command: %s", err)