Skip to content
This repository has been archived by the owner on Feb 8, 2021. It is now read-only.

Commit

Permalink
exec: fix the issue of waitexec process
Browse files Browse the repository at this point in the history
Signed-off-by: fupan <[email protected]>
  • Loading branch information
lifupan committed Jul 11, 2018
1 parent efce5ff commit 335688f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/pod/exec.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ func (p *XPod) StartExec(stdin io.ReadCloser, stdout io.WriteCloser, containerId

go func(es *Exec) {
ret, err := p.sandbox.WaitProcess(containerId, es.Id)
if err == nil {
if err != nil {
es.Log(ERROR, "can not wait exec")
return
}
Expand Down

0 comments on commit 335688f

Please sign in to comment.