aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2018-12-28 17:33:35 -0800
committerGitHub <noreply@github.com>2018-12-28 17:33:35 -0800
commit0420215f65504623b5d16db0285b050eef2a22ca (patch)
tree763dcee6e60aac10d8eea0a242555ddf1a0410ce
parentc50332d057a148f6ffa7879e99e969cf97af9878 (diff)
parentc141c5cfd2ce1cb43530daf82203981d5a752ceb (diff)
downloadpodman-0420215f65504623b5d16db0285b050eef2a22ca.tar.gz
podman-0420215f65504623b5d16db0285b050eef2a22ca.tar.bz2
podman-0420215f65504623b5d16db0285b050eef2a22ca.zip
Merge pull request #2060 from rhatdan/devices
Fix handling of symbolic links
-rw-r--r--pkg/spec/config_linux.go2
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 {