mirror of
https://github.com/containers/podman.git
synced 2025-05-21 17:16:22 +08:00
Merge pull request #19250 from rhatdan/tmpfs
Should be checking tmpfs versus type not source
This commit is contained in:
@ -1962,7 +1962,7 @@ func (c *Container) makeBindMounts() error {
|
|||||||
case m.Destination == "/run/.containerenv":
|
case m.Destination == "/run/.containerenv":
|
||||||
hasRunContainerenv = true
|
hasRunContainerenv = true
|
||||||
break Loop
|
break Loop
|
||||||
case m.Destination == "/run" && m.Source != define.TypeTmpfs:
|
case m.Destination == "/run" && m.Type != define.TypeTmpfs:
|
||||||
hasRunContainerenv = true
|
hasRunContainerenv = true
|
||||||
break Loop
|
break Loop
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user