mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 06:03:57 +08:00
Merge pull request #151 from LK4D4/use_proc_exe
Use /proc/self/exe as default for InitPath
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user