mirror of
https://github.com/hashicorp/packer.git
synced 2026-09-24 08:51:40 -04:00
builder/amazon/chroot: log the exit code for the chroot communicator
This commit is contained in:
@@ -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)
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user