mirror of
https://github.com/containers/podman.git
synced 2026-05-24 16:40:44 -04:00
Quadlet - fix dropin overwrites if different parent dirs
fixes #26555 Signed-off-by: Andreas <43118918+eulores@users.noreply.github.com>
This commit is contained in:
@@ -140,8 +140,8 @@ func loadUnitDropins(unit *parser.UnitFile, sourcePaths []string) error {
|
||||
dropinDirs := []string{}
|
||||
unitDropinPaths := unit.GetUnitDropinPaths()
|
||||
|
||||
for _, sourcePath := range sourcePaths {
|
||||
for _, dropinPath := range unitDropinPaths {
|
||||
for _, dropinPath := range unitDropinPaths {
|
||||
for _, sourcePath := range sourcePaths {
|
||||
dropinDirs = append(dropinDirs, path.Join(sourcePath, dropinPath))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user