summaryrefslogtreecommitdiff
path: root/libpod/container.go
diff options
context:
space:
mode:
Diffstat (limited to 'libpod/container.go')
-rw-r--r--libpod/container.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpod/container.go b/libpod/container.go
index 8ebb5570b..9f72bbe53 100644
--- a/libpod/container.go
+++ b/libpod/container.go
@@ -455,7 +455,7 @@ func (c *Container) Dependencies() []string {
dependsCtrs[c.config.NetNsCtr] = true
}
if c.config.PIDNsCtr != "" {
- dependsCtrs[c.config.NetNsCtr] = true
+ dependsCtrs[c.config.PIDNsCtr] = true
}
if c.config.UserNsCtr != "" {
dependsCtrs[c.config.UserNsCtr] = true