diff --git a/resin-xbuild.go b/resin-xbuild.go index a7f4c67..5ce75ad 100644 --- a/resin-xbuild.go +++ b/resin-xbuild.go @@ -31,7 +31,7 @@ func crossBuildEnd() { } func runShell() error { - cmd := exec.Command("/usr/bin/qemu-arm-static", append([]string{"-execve", "-0", os.Args[0], "/bin/sh", "/bin/sh"}, os.Args[1:]...)...) + cmd := exec.Command("/usr/bin/qemu-arm-static", append([]string{"-execve", "-0", os.Args[0], "/bin/sh"}, os.Args[1:]...)...) cmd.Stdin = os.Stdin cmd.Stdout = os.Stdout cmd.Stderr = os.Stderr