Merge pull request #151 from LK4D4/use_proc_exe

Use /proc/self/exe as default for InitPath
This commit is contained in:
Michael Crosby
2015-08-03 16:15:33 -04:00
+1 -1
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
}