builder/amazon/chroot: log the exit code for the chroot communicator
This commit is contained in:
parent
a134a326b8
commit
be5fa9ecdb
|
@ -45,6 +45,9 @@ func (c *Communicator) Start(cmd *packer.RemoteCmd) error {
|
|||
}
|
||||
}
|
||||
|
||||
log.Printf(
|
||||
"Chroot executation ended with '%d': '%s'",
|
||||
exitStatus, cmd.Command)
|
||||
cmd.SetExited(exitStatus)
|
||||
}()
|
||||
|
||||
|
|
Loading…
Reference in New Issue