mirror of
https://github.com/hashicorp/packer.git
synced 2026-04-22 06:37:02 -04:00
builder/amazon/chroot: log the exit code for the chroot communicator
This commit is contained in:
parent
a134a326b8
commit
be5fa9ecdb
1 changed files with 3 additions and 0 deletions
|
|
@ -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 a new issue