Commit 333ed6aa authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

packer/rpc: Use the SetExited for remote communicators

parent 26a117e3
......@@ -91,8 +91,7 @@ func (c *communicator) Start(cmd *packer.RemoteCmd) (err error) {
log.Panic(err)
}
cmd.ExitStatus = finished.ExitStatus
cmd.Exited = true
cmd.SetExited(finished.ExitStatus)
}()
err = c.client.Call("Communicator.Start", &args, new(interface{}))
......
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