builder/amazon/chroot: fix compile error
This commit is contained in:
parent
f94203c27a
commit
3adbd09639
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue