Small test cleanup

This commit is contained in:
Alex Dadgar
2015-09-25 17:55:29 -07:00
parent 57ade13fc8
commit 04094cfb40
4 changed files with 3 additions and 5 deletions

View File

@@ -219,8 +219,6 @@ func (h *javaHandle) run() {
close(h.doneCh)
if err != nil {
h.waitCh <- err
} else if !h.cmd.Command().ProcessState.Success() {
h.waitCh <- fmt.Errorf("task exited with error")
}
close(h.waitCh)
}