diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2018-12-28 13:09:31 -0500 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2018-12-28 13:10:15 -0500 |
commit | c141c5cfd2ce1cb43530daf82203981d5a752ceb (patch) | |
tree | 763dcee6e60aac10d8eea0a242555ddf1a0410ce /pkg/spec/config_linux.go | |
parent | c50332d057a148f6ffa7879e99e969cf97af9878 (diff) | |
download | podman-c141c5cfd2ce1cb43530daf82203981d5a752ceb.tar.gz podman-c141c5cfd2ce1cb43530daf82203981d5a752ceb.tar.bz2 podman-c141c5cfd2ce1cb43530daf82203981d5a752ceb.zip |
Fix handling of symbolic links
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'pkg/spec/config_linux.go')
-rw-r--r-- | pkg/spec/config_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/spec/config_linux.go b/pkg/spec/config_linux.go index f3e200262..eccd41ff9 100644 --- a/pkg/spec/config_linux.go +++ b/pkg/spec/config_linux.go @@ -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 { |