1
0
mirror of https://github.com/rancher/os.git synced 2025-09-13 13:39:53 +00:00

Fix the wrong symlinks when using the custom docker engine

This commit is contained in:
niusmallnan
2019-08-15 13:17:07 +08:00
committed by niusmallnan
parent 1893c7863b
commit 3961aa6855
3 changed files with 22 additions and 25 deletions

View File

@@ -137,7 +137,7 @@ func consoleInitFunc() error {
}
}
baseSymlink := symLinkEngineBinary(cfg.Rancher.Docker.Engine)
baseSymlink := symLinkEngineBinary()
if _, err := os.Stat(dockerCompletionFile); err == nil {
baseSymlink = append(baseSymlink, symlink{