Change how a result is returned form wait

This commit is contained in:
Abhishek Chanda
2016-02-10 12:24:18 -08:00
parent 1a9438cdd1
commit 07d4152017

View File

@@ -312,6 +312,6 @@ func (h *rktHandle) run() {
// TODO: Better exit code parsing.
code = 1
}
h.waitCh <- cstructs.NewWaitResult(code, 0, err)
h.waitCh <- &cstructs.WaitResult{ExitCode: code, Signal: 0, Err: err}
close(h.waitCh)
}