Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--daemon.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon.go b/daemon.go
index de6ce4a3..5cd08a6d 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