From e2c966f4a3546f3da639f35fca4ea949973969e0 Mon Sep 17 00:00:00 2001 From: Kamil Trzcinski <ayufan@ayufan.eu> Date: Wed, 24 Feb 2016 19:59:59 +0100 Subject: [PATCH] Try to solve #4 --- daemon.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon.go b/daemon.go index de6ce4a..5cd08a6 100644 --- a/daemon.go +++ b/daemon.go @@ -159,7 +159,7 @@ func daemonChroot(cmd *exec.Cmd) (path string, err error) { // Update command to use chroot cmd.SysProcAttr.Chroot = wd - cmd.Path = temporaryExecutable.Name() + cmd.Path = "/" + temporaryExecutable.Name() cmd.Dir = "/" path = filepath.Join(wd, temporaryExecutable.Name()) return -- GitLab