Skip to content

Commit

Permalink
Merge pull request containers#19250 from rhatdan/tmpfs
Browse files Browse the repository at this point in the history
Should be checking tmpfs versus type not source
  • Loading branch information
openshift-merge-robot authored Jul 17, 2023
2 parents 49a924c + a224ff7 commit 52af8a2
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 52af8a2

Please sign in to comment.