Skip to content
Snippets Groups Projects
Commit e2c966f4 authored by Kamil Trzcinski's avatar Kamil Trzcinski
Browse files

Try to solve #4

parent d0749493
No related branches found
No related tags found
1 merge request!3Try to solve #4
Pipeline #
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment