Skip to content
This repository has been archived by the owner on Nov 19, 2020. It is now read-only.

Commit

Permalink
container: add log on process exit
Browse files Browse the repository at this point in the history
  • Loading branch information
justenwalker committed Oct 19, 2018
1 parent d0ca809 commit dbf3a19
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions container/container.go
Expand Up @@ -294,6 +294,7 @@ func (c *Container) pollStats() {

func (c *Container) Wait(exitCh <-chan struct{}) (Result, error) {
pr, err := c.proc.Wait(exitCh)
c.Logger.Logf("process exited: %d", pr.ExitStatus)
if err != nil {
return Result{}, err
}
Expand Down

0 comments on commit dbf3a19

Please sign in to comment.