diff options
Diffstat (limited to 'libpod/container.go')
-rw-r--r-- | libpod/container.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container.go b/libpod/container.go index 141d41656..3cb2a0b85 100644 --- a/libpod/container.go +++ b/libpod/container.go @@ -492,7 +492,7 @@ func (c *Container) NamespacePath(ns LinuxNS) (string, error) { return "", errors.Wrapf(err, "error updating container %s state", c.ID()) } - if c.state.State != ContainerStateRunning { + if c.state.State != ContainerStateRunning && c.state.State != ContainerStatePaused { return "", errors.Wrapf(ErrCtrStopped, "cannot get namespace path unless container %s is running", c.ID()) } |