From d9e513043c5a65737b2977546cbe4a14ede5daeb Mon Sep 17 00:00:00 2001 From: Alexander Morozov Date: Fri, 24 Jul 2015 11:45:09 -0700 Subject: [PATCH] Use /proc/self/exe as default for InitPath Signed-off-by: Alexander Morozov --- libcontainer/factory_linux.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libcontainer/factory_linux.go b/libcontainer/factory_linux.go index 5eb561f69..0f7ba6782 100644 --- a/libcontainer/factory_linux.go +++ b/libcontainer/factory_linux.go @@ -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 }