Skip to content

Commit

Permalink
Should be checking tmpfs versus type not source
Browse files Browse the repository at this point in the history
Paul found this in containers#19241

[NO NEW TESTS NEEDED]

Signed-off-by: Daniel J Walsh <[email protected]>
  • Loading branch information
rhatdan authored and ashley-cui committed Jul 20, 2023
1 parent b4859d2 commit 5ea0194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libpod/container_internal_common.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 5ea0194

Please sign in to comment.