Commit be5fa9ec authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

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

parent a134a326
......@@ -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)
}()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment