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, os.Environ()...)
|
||||||
cmd.Env = append(cmd.Env, "LANG=C")
|
cmd.Env = append(cmd.Env, "LANG=C")
|
||||||
cmd.Stderr = &stderr
|
cmd.Stderr = &stderr
|
||||||
err := cmd.Run()
|
err = cmd.Run()
|
||||||
if err == nil {
|
if err == nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue