mirror of https://github.com/containers/podman.git
Fix handling of symbolic links
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
This commit is contained in:
parent
c50332d057
commit
c141c5cfd2
|
@ -74,7 +74,7 @@ func devicesFromPath(g *generate.Generator, devicePath string) error {
|
|||
return nil
|
||||
}
|
||||
|
||||
return addDevice(g, devicePath)
|
||||
return addDevice(g, strings.Join(append([]string{resolvedDevicePath}, devs[1:]...), ":"))
|
||||
}
|
||||
|
||||
func addDevice(g *generate.Generator, device string) error {
|
||||
|
|
Loading…
Reference in New Issue