diff options
Diffstat (limited to 'libpod/container_internal.go')
-rw-r--r-- | libpod/container_internal.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container_internal.go b/libpod/container_internal.go index c9454db8a..e0411e028 100644 --- a/libpod/container_internal.go +++ b/libpod/container_internal.go @@ -334,7 +334,7 @@ func (c *Container) getArtifactPath(name string) string { // Used with Wait() to determine if a container has exited func (c *Container) isStopped() (bool, error) { - if !c.locked { + if !c.batched { c.lock.Lock() defer c.lock.Unlock() } |