diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-24 21:59:59 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-02-24 21:59:59 +0300 |
commit | e2c966f4a3546f3da639f35fca4ea949973969e0 (patch) | |
tree | 9f4f423311c3c4b6d333fd3260c153078654ecbf | |
parent | d074949316eba3da84bd1dd46f80eec2800763dc (diff) |
Try to solve #4chroot-path
-rw-r--r-- | daemon.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |