Use /proc/self/exe as default for InitPath

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2015-07-24 11:45:09 -07:00
parent 016bb8aaea
commit d9e513043c
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ func InitArgs(args ...string) func(*LinuxFactory) error {
}
name = abs
}
l.InitPath = name
l.InitPath = "/proc/self/exe"
l.InitArgs = append([]string{name}, args[1:]...)
return nil
}