From 5ea019419cd78457230cf4d15ee459bf4288a1bd Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Sat, 15 Jul 2023 07:57:34 -0400 Subject: [PATCH] Should be checking tmpfs versus type not source Paul found this in https://github.com/containers/podman/pull/19241 [NO NEW TESTS NEEDED] Signed-off-by: Daniel J Walsh --- libpod/container_internal_common.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpod/container_internal_common.go b/libpod/container_internal_common.go index 6072469527..9a1cc496fb 100644 --- a/libpod/container_internal_common.go +++ b/libpod/container_internal_common.go @@ -1962,7 +1962,7 @@ func (c *Container) makeBindMounts() error { case m.Destination == "/run/.containerenv": hasRunContainerenv = true break Loop - case m.Destination == "/run" && m.Source != define.TypeTmpfs: + case m.Destination == "/run" && m.Type != define.TypeTmpfs: hasRunContainerenv = true break Loop }