builder/amazon/chroot: log the exit code for the chroot communicator

pull/222/merge
Mitchell Hashimoto 13 years ago
parent 613322d98b
commit df4c844493

@ -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…
Cancel
Save