builder/amazon/chroot: fix compile error

This commit is contained in:
Mitchell Hashimoto 2013-11-08 11:19:10 -08:00
parent f94203c27a
commit 3adbd09639
1 changed files with 1 additions and 1 deletions

View File

@ -92,7 +92,7 @@ func (c *Communicator) UploadDir(dst string, src string, exclude []string) error
cmd.Env = append(cmd.Env, os.Environ()...)
cmd.Env = append(cmd.Env, "LANG=C")
cmd.Stderr = &stderr
err := cmd.Run()
err = cmd.Run()
if err == nil {
return err
}