1
0
mirror of https://github.com/rancher/os.git synced 2025-09-02 07:15:41 +00:00

Use a constant instead of a magic value.

This commit is contained in:
Ivan Mikushin
2015-11-05 13:51:05 +05:00
parent 283299f84e
commit 2db254865e
2 changed files with 2 additions and 1 deletions

View File

@@ -19,7 +19,7 @@ func Main() {
newEnv = append(newEnv, "DOCKER_HOST="+config.DOCKER_SYSTEM_HOST)
os.Args[0] = "/usr/bin/docker.dist"
os.Args[0] = config.DOCKER_DIST_BIN
if err := syscall.Exec(os.Args[0], os.Args, newEnv); err != nil {
log.Fatal(err)
}